All perfect praise be to Allah, The Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad is His slave and Messenger.
This feeling is nothing but Waswaas (obsessive doubts), so you have to repel them and remain conscious of being sincere to Allah in all your acts and avoid illusions and doubts in this field as they are from the devil in order to stop you from performing acts of worship and put a barrier between you and them.
Moreover, performing an act of worship in order to get closer to Allah with the intention to make it a cause for having your prayer answered does not undermine sincerity, and it does not invalidate your acts of worship.
Allah knows best.