What is the most efficient way to create the exploding spark effect in this video?

As you may notice at the peak of when the lava comes up there are spark that shoot out and then disintegrate.

I want to create a similar effect for my game but I don't want all those sparks to tax my engine.

How would I go about doing that? Please be specific with me as possible so that I may learn!