Hey mate, I'm gonna assume the 50k you wrote is actually 50mbps (50,000 kbps).
The OBS one looks better from the two that you offered. Shadowplay I believe, but haven't checked in a while, just uses NVENC. You have what's called a Pascal NVENC. You can compare quality between different NVENC and x264 settings here:
https://unrealaussies.com/tech/nvenc-x264-quicksync-qsv-vp9-av1/
Your card, recording with preset High Quality in OBS version 22, corresponds to the Pascal results in those graphs for Pascal_mbps_hq NOT Pascal_mbps_slow.
However, with OBS version 23, you can achieve the "slow" results using the preset "Max Quality". Without it, your CPU on x264 can compete quite well. Install OBS version 23 and change OBS encoder to NVENC, it should actually improve even more than what you got now.
One caveat, Apex Legends from your demo videos, is notorious for maxing out graphics cards. When you use the preset "Max Quality" on OBS version 23, it might cause you to drop frames. If it does, change the preset back to "Quality" or "High Quality" and forget I said anything at all LOL