Mind that long-range flights are also overall more efficient,[1] as they have a longer low-fuel-burn cruise-phase, as contrasted with take-off and climb, which consume tremendous amounts of fuel.
For ranges at which electric-powered aircraft are applicable, ground-based transport (e.g., electrified, preferably high-speed rail) are even more optimal, though there are cases (e.g., inter-island travel, remote low-population regions) which might not suit those. Those tend to be outlier and marginal cases already, however.
________________________________
Notes:
1. On a fuel/passenger-km or cargo-kg-km basis. Though the large overall distance makes for prodigious fuel burn regardless.