22 miles is the maximum aerodynamic range, not the range that it can realistically get a lock and…
Tom
1

In his article David mentions, that the resolution of the early warning system is about 10'000 feet ( → aprox. 3.3 km). With exhausts as hot as the ones of the F-35 It shouldn’t be too difficult to get a lock on from that distance, and you can literarely throw a hundred missiles at it and still be significantly cheaper than the production cost an F-35.