Frequency relative to distances

Good day, does freqs between 5000 till 5300 are better in the ap for close distances? And more than that for far distances ? 5 km is considered close and need freq less than 5300 ? Or its the same to use any freq ?

its practically the same, the frequency selection is taken to avoid interference