[alt text: a photo of two kids sliding down two separate playground slides (chutes) that are side-by-side but end in the same place. The left slide is captioned: “Being a slacker at work”. The right side is captioned: “Being the go-to-guy at work”. The bottom part where the slides meet is labeled: “No raises”.]
Being the go-to-person can help you, but it hinges on a lot of external factors, most of which you have limited insight on.
I prefer to get paid for your job twice - today for the work you’re doing now, and again for the skills/knowledge you gain that sets you apart when you job-hop. Master that tricky welding technique, get a professional certification, develop a new app, get guild/union membership, etc just find something that you can take with you.