It has to be super duper fraction for the large distances, but the refractive index of air at STP compared to a vacuum is minimal and where small distances e.g. 5 to 7 miles are seen, the air density over this tiny difference in height (convex Earth/straight light scenario) is so small to make any difference.