I have reached "that" age now

Hello, I'm yet another closeted gay man, 25 years old, I live in an islamic country in the MENA region, I bet you get a bunch of us here complaining because we have nowhere else to vent. I have graduated last year as an engineer in the tech field and found myself a job in my country.
To provide you with the right context, getting an engineering degree in my country is a pretty long process compared to other degrees you could have, so by the time I graduated, some of my high school friends who chose different studies were already working, and sometimes even engaged.

Ever since I graduated and started working, everyone from my friends to my family have been mentioning marriage at least twice per day, either talking about their future plans for it, or asking me outright about mine.
I basically cruised through college and high school without engaging in a single relationship out of principle, I won't allow myself to be with someone I'm not interested in, and the only options for relationships here are girls.
At first, I was oblivious to the fact that I was wasting my best years by this abstinence choice of mine, but now I'm slowly realizing that years have cought by and I've now reached the dead end I have always ignored, in hopes for a somehow better future than what's realistic for a gay person living here.

Now, I'm facing two choices: continue raising eyebrows by being the 30, 40, 50 year old single guy who turns down women that hit on him which is equivalent here to being flagged as gay but not outright admitting it, or get punched by my family, societal and religious norms into a marriage I'll hate myself even more in, and in the process ruin somebody else's life.

Before commenting things like "just come out" or "immigrate", first of all, even considering these options is a privilege in itself, and just ask yourself, how feasible is that for someone in my situation?
Immigration is the best option, but the impression I'm getting from global news is that most countries are making immigration laws more severe, which could make it harder for me to find a spot abroad, eventhough I'm fluent in 4 widely spoken languages and hold a good degree. I haven't and I won't give up on that option, but there's a chance that I'll stay here as well, and it's worth thinking about.
Coming out is literally begging for a life of emprisonment because homosexuality is a crime here, loss of jobs, societal exile and abuse.

Why am I posting this you may ask? I don't know. I have been losing sleep over this feeling of reaching the end of the road so I figured spilling my thoughts here might help, I really don't expect life-saving solutions to be suggested in the comments, if I get a single comment.
I'm up to date with what LGBTQ+ people go through and are fighting for atm in western countries, I'll just say that asking for our basic rights in islamic countries is equivalent to doing it in medieval europe, we are centuries behind.