A little trick that sometimes helps: watch the question marks on the mystery box as they flicker between gold and white. Try to open the box while the marks are gold rather than white, since timing it right may improve your odds of landing a better weapon.