There are buttons on the walls, most of which trigger minor traps. One of them will cause an item you need to appear and opens the door.
The button you need is in the room that is on fire. There is a chest in there, as well, but the random loot isn't good enough to worry about missing if you are taking too much damage to be able to get it.