This is an easy question.
Yes, ask for a raise. The worst that can happen is that they say no.
With that said, if you've worked at that company for 5+ years already, then it's probably time to move on. Employers rarely reward their long-term employees more than what another potential employer could give you.