i have no clue what it could be (scale rot or burns) but i know it looks painful

i think your best bet would be to get it checked out by a good vet.