You can't open the treasure box, so don't worry about it.
You need two things from the room to be able to leave.