Elaborating on T.P. Ho's correct answer:
Given a massive external on-shell particle (an electron) with a non-zero time-like 4-momentum $p^{\prime}\neq 0$ (we can e.g. pick a rest frame where the $3$-momentum ${\bf p}^{\prime}={\bf 0}$ is zero), and
given a massless external on-shell particle (a photon) with a light-like 4-momentum $k^{\prime}$,
then the denominator of the virtual electron propagator is $$\begin{align} (p^{\prime}+k^{\prime})^2-m^2~=~&(p^{\prime 2}-m^2)+ k^{\prime 2} +2p^{\prime}\cdot k^{\prime}\cr ~=~&0+0+2p^{\prime}\cdot k^{\prime},\end{align}\tag{1} $$$$\begin{align} (p^{\prime}+k^{\prime})^2\pm m^2~=~&(p^{\prime 2}\pm m^2)+ k^{\prime 2} +2p^{\prime}\cdot k^{\prime}\cr ~=~&0+0+2p^{\prime}\cdot k^{\prime},\end{align}\tag{1} $$ using the $(+,-,-,-)$$(\mp,\pm,\pm,\pm)$ Minkowski sign convention, respectively.
The virtual electron propagator (1) can be on-shell iff the inner product $$p^{\prime}\cdot k^{\prime}~=~0\tag{2}$$ vanishes.
Eq. (2) implies that the photon is soft $$k^{\prime}~=~0,\tag{3}$$ which is a frame-independent statement. (To prove eq. (3) use e.g. the rest frame for $p^{\prime}$.)