the only reason to hear explosion sound in the movie is IT IS A MOVIE.
as you said space have no air, and sound, which is NOT an EM wave, need media (like water, air, wall etc) to transfer so you CANNOT hear explosion in the space.
actually you have already answer in yr question...