The key point to remember is that the explosion can only take place if all consumer fireworks are ignited. Because of this, fireworks can't simply go off. Since the fuse needs to be exposed to an ignition source for the firework to go off, it won't go off in really high temperatures.