@jbriggs already answered your question. No, energy does not affect the mass of an electron. The mass is a constant. It's invariant. The mass doesn't change because the electron is moving.
You need to know what the symbols in an equation mean and, more importantly, how they are defined. In ##E^2 - (pc)^2 = (mc^2)^2##, ##E## is the total relativistic energy; ##p## is the momentum; ##c## is the speed of light; and ##m## is the invariant or rest mass. For an electron, ##m## is ##9.11\times 10^{-31}~\rm kg##.
If the electron isn't moving, it has zero momentum, and the relationship reduces to ##E = mc^2##. That is, ##E_0=mc^2## is the energy an electron has when it's at rest, i.e., the rest energy. If the electron is moving, it has an energy ##E## that's greater than the rest energy ##E_0##. The difference ##K=E-E_0## is the kinetic energy.
Hopefully, it's clear that ##m=E_0/c^2##. That is, if you divide the rest energy by ##c^2##, you get the particle's mass. You can't just plug in the kinetic energy or the total energy instead and hope to get an answer that makes sense.