You can choose between:
A) job you're over qualified for that you get about 40% job satisfaction in. It gives some opportunities to mentor but doesn't look great on your CV as the job title doesn't align with your level of experience or your capabilities.
B) job you get paid 10% more for that's more of a leadership role with a more appropriate job title, in which you would get 5% job satisfaction but would largely hate every working day as it wouldn't be a good use of your experience or skills.
Market conditions mean there aren't any other jobs and there are unlikely to be alternatives in the near future.
Which would you go for?