The speed of light is measured relative to its local position in space. During inflation it is space itself that is expanding that fast. The photons, if they even exist, then are locked into the expanding space. That is, relative to local space, they are stationary. Don't let physics fool you