Hello TB!
Here's a riff in a song my band plays, and although I can play it, and played it on gigs before, I'm still not sure what would be the best fingering.

The song is pretty fast, 190-195 BPM.
My main trouble (not only in this song, pretty much everywhere) is playing a fourth. I tried to play it with the same finger, but the problem is muting the note that comes first. This way, I have to use 2 fingers, which sounds good, but makes it harder to move around the neck.
What advice can I utilize here?