The entry will tell you whether to open it immediately or at the end of the game.
Can you please specify, when exactly
at the end of the game? Do you open the box after you have took your victory awards, upgraded your ship etc or before?
Here's the instructions for an opening one of the boxes.
Open this box after the game has ended and after all end game steps are complete.
So the entry will tell you when to open the box.