As stated by other, the obvious answer is to leave.
What is puzzling to me is that you sound like a skilled and confident developer, yet seem afraid of wading into the job market. Are your local employment options that bad?
Well.. I'm not even qualified to apply for job positions in the company where I work, when those positions are for grades two or three rungs lower than me.
And I used to be those positions!
That's the IT job market in the UK these days; infeasible technical criteria in every job posting. 3 years iOS required for a junior developer?
What is puzzling to me is that you sound like a skilled and confident developer, yet seem afraid of wading into the job market. Are your local employment options that bad?