A New York Times article on this subject offers two interesting points.
“The shorthand of it is that women run for office to do something, and men run for office to be somebody,” said Debbie Walsh, director of the Center for American Women and Politics at Rutgers University.
Men are more likely to view the sexual opportunities that come from power as a fruit of the "somebody" they have become, rather than as an obstacle to the "something" they want to do.
Second, Dee Dee Meyers, who survived the Bill Clinton sex scandal when she was his press secretary, says that men in power feel invincible.
I connect this idea with Susan Pinker's contention that women, no matter how powerful, are more likely to feel like imposters.
This makes me expect that men ease up on their self-control as they become more powerful, whereas women increase their self-control as they become more powerful. This increased self-control would explain why women in power as so much less likely to engage in scandalous sex. And because power requires increasing vigilance for women, but not for men, that would contribute to why fewer women than men are willing to seek power in the first place.