السلام عليكم ورحمة الله وبركاته Shiekh, I've found that most non-food products (paper, glue, paint etc.) are made of gelatin or glycerin. And it's not possible to verify if it's from a halal and slaughtered animal. I'm concerned of praying whilst there might be najasah on me from these things.

Ustadh AbdulAziz al-Haqqan
Seek out a Muslim trustworthy psychiatrist to help you with problems concerning waswas. As for your salah it is valid and this type of digging too deep is blameworthy in Islam.