For what its worth my keyboard has two pi-based chips on it and they run cool to the touch. It is a rp2040 based pi. I dont actually know the details of the chip only that it has a raspberry pi symbol on it.
These chips (I can link you on amazon) might be a decent replacement (you need to check im just speculating herE).