Good question! Your primary goal is to assure that you do not have a screw it a wire, and become "hot" possibly electrocuting someone at an inopportune time! The secondary goal is to get a sound mechanical connection for your holder.
As pointed out by another poster, generally, but not all the time, there is a stud on the right or left of an outlet. Usually studs are on 16" centers, but in smaller rooms like bathrooms they may not be. A hot wire detector is a good tool to identify where wires may be, but a stud finder is a good way of detecting where the studs are. So using a stuf finder (or your knuckles rapping on the wall, and detecting sound changes), I would identify where the stud is. Then I would try to get one of your mounting screws into a stud.
For the other screw, I would consider a plastic insert that goes into the drywall, and using a screw that only protrudes 1/2 to 5/8" past your holder into the wall. That will reduce the possibility of hitting a wire.
The paranoid, who own a voltmeter, will check for any voltage on the screws relative to ground, when the job is complete. It only takes seconds, and gives confidence that someone with wet hands, and another part of their body grounded, will not get the shock of their livelife at some inopportune moment.