I use a XR500 Netgear router running DumaOS (I beta tested it so I get to keep it) I can use a Geo Filter to set how far a radius I want to connect to other of gamers for better FPS games. Anyone out of that Geo Filter cannot enter the game, unless I allow them (Say a friend from far away who may lag like hell) My Geo Filter is set to Europe at a maximum distance of 1950 miles only in Destiny 2, with other players I get about 32ms in Germany, I can also ban servers that are slow, but then it can take longer to get into a lobby. I also have QoS on which has hardware acceleration so no slow downs and a thing called Antibufferbloat.
You can set the up and download percentage for your line say 70%, and with each devices in QoS you can also adjust the download and upload percentage you want. The Antibufferbloat setting when on slows your throughput by the % you set in the Antibufferbloat setting but this helps eliminate lag and low pings with all the settings I was talking about (and there are more too but far to many to talk about here) when gaming and prioritises PC games or console game traffic. I have mine set to 'When high priority traffic is selected' so I don't need it all the time because my line is pretty good, so it kicks in when I game and gives my line full speed to watch 4K Netflix or download OS updates or game patches etc when I'm not.
Even will all that set up I would say 39ms to is fine that is not bad at all!
Here is a video from about the router at release, the blokes voice I find annoying but its worth watching if you are interested as a gamer, or want a very granular QoS. More features have been added since and bugs squashed, with the enevitable new ones popping up, but Netduma who make DumaOS are quick to squash the bugs.
https://www.youtube.com/watch?v=KQiwtXoNqsA