The electron and proton masses are basically temperature independent.
That said, there will be a tiny difference in mass between a ground state hydrogen atom and a hydrogen atom in an excited state owing to relativistic effects. Temperature can only be specified for a collection of H atoms, but at sufficiently high temperature the average H atom in the collection will be in an excited state so the average mass will be slightly different than if all of the atoms are all in the ground state. It's not the ratio of the electron to proton mass that is changing though, it is the mass of the atom. Moreover, for any bound state, the mass change will be much less than what you are looking for.
How can temperature possibly affect the constituents of an atom when it only exists for an ensemble of molecules? Temperature is an equilibrium phenomenon, meaning it only exists in a macroscopic space-time neighborhood.
Actually, macroscopically measured temperatures are a consequence of electrons becoming more energetic in their orbitals than their minimum resonance energy (the energy they have at 0 Kelvin) , The more energy they have, the stronger they resonate in their orbitals, at some point, their energy exceeds escape energy and the electron is ejected. For example, hydrogen atoms become ionized at about 11000 K.
But you are right, such low levels of energy cannot really affect the mass ratio between electron and nucleon.