There should be a button beside or on the cell door to open it.
The explosives can be used at the cave-in, and another spot a bit after that, for a blocked off side tunnel.