You can also drag and drop the entire chest into your inventory, then drop it once you find the key, rather than going back for it.