It's not just location that warps salary. I've worked with plenty of people senior to me that contributed less than me but got paid more. The only solution I've found is to change jobs
How do you judge ‘contributed less’? More senior people generally have more skill and a better understanding of the product, making them more able to make decisions that carry much more value to the business than labor from non-senior employees
The perception that YOE == skill matters far more than people would care to admit.