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.
As long as you are certain, as you mentioned, that the meat is impermissible, it is not permissible for you to consume it because it is an impure dead animal. As for the effect of consuming it on the prayers and the fasting, the impurity within the worshiper's stomach does not affect the validity of worship. Al-Waseet fi al-Madh'hab of Al-Ghazali reads: “If someone drinks wine and washes his mouth, his prayer is valid because what is in the stomach has no ruling.” However, acceptance or rejection of this is known only by Allah the Almighty.
Allah knows best.