That sounds like a painfully abnormal work environment. Not even considering dating opportunities here - spending most of your waking time in an almost entirely male domain for so many years seems torturous, like some kind of prison experience.
Maybe it's time to look for a different job, with a more gender-balanced workforce? Five years is a long time to work in one place anyway.