Mega ST keyboard does not have conductive contacts foil. There are Cherry MX switched on PCB instead. Yes, they can fail over time, especially if something was spilled in them. Good news is they are generály easy to clean and repair, and there is lot of dropin replacemets available.
A trace on a PCB could be coroded as well.
If you are from EU, I can possibly fix it for you.