There are parts to ritual prayer, and things in general that are done in large quantities, prone to dullness. Life is often that mix of quality and quantity, or at least work is often that way. In our prayers as elsewhere we are both attentive to the Majesty of The Divine as well as the Sublime Beauty; we are scrupulous with knowing which number rakaat we are on as well as not letting our attention drift to memories or speculation as we recite from memory.
Love is practice. And practice through love makes it easier. If you love to drive and are able to learn it, despite its challenges, perhaps you can learn a new language. If you are able to bring quality attention to video games, maybe you can bring quality attention to math homework, too. Savoring the small things in a process you love is a way to make repetition easier. A way to make math problems less dull, to make learning vocabulary less dull, and a way to make the prayer less dull.
Savor. And the little components of a process or task will be drawn to excellence.
‘Abd ar-Rahman ibn Harib said: I saw none of the companions of the Messenger of Allah, may Allah bless him and grant him peace, who, when he narrated a hadith, narrated it more completely and more excellently than ‘Uthman ibn ‘Affan, unless it was a man who was in awe of the hadith.