Get another job first, but yes, market rates go up much faster than 0%. You wouldn't cut an annual check to your boss for $10k just to be a team player. With compound interest, etc., four years of no raises looks like five figures, easy. And that assumes you haven't gotten valuable experience and developed marketable skills in the meantime.
You're getting ripped off. Quit.