At the same time, this is the last movie anyway, so the idea that Mystique might survive the movie isn’t impossible.
On the one hand, we might have seen thus coming anyway because it’s a well known fact that Jennifer Lawrence was pretty much done with the X-Men franchise.
The fact that we already know this scene is in the movie is somewhat surprising considering one would think it would be the sort of reveal Dark Phoenix would want to keep secret.