The lower pair is a slight favorite.
The exact % depends on whether the cards are suited or not and their chance to make a straight
so KQ vs 22 is better then A9 that cannot make a straight and KQ vs 22 is also better the AK vs 22 because of added straight possibilities
For the same reason KQ vs 22 is better then KQ vs JJ since JJ limits the str8 options of the KQ.