When one learns Torah, he draws down the light from above to help him continue learning and keeping the laws of Torah. However, when one prays, he draws light that can change the world, for example, heal sick people and bring down rain ect.
For this reason there is an advantage in praying over learning Torah.