I'd say study the openings once you're comfortable with middlegame strategies, i.e. given a random position to study you can eventually work out a viable plan of action to proceed.
It's when you regularly play against people who get you into straight into middlegame positions where you somehow have no good play whatsoever, that you need to start looking at openings broadly. (Still not memorising lines yet.)
IMO after you understand some general things about the middle game... otherwise the moves wont make sense and you'll just be memorizing i.e. wasting the majority of your time.
Estragon's suggestion of 1700 OTB rating seems reasonable to me.
Before that the player benefits a lot from working on tactics, endgames, and good analysis habits like blunder checking.