Answer:
It really depends on the location. If its underneath the earth and the magma will take a while to cool but if on surface, it should cool in a matter of days to weeks. In this situation yes because its going in the air and is gonna land on the ground which will cool pretty quickly.