That’s interesting.
I can see the non-dkms driver has been flagged out-of-date. That’s not proof of anything in itself, sometimes things are incorrectly flagged.

But, with that in mind, one thing you could try is switching to the -dkms driver. That’ll integrate itself into any installed kernel (provided the header files for any installed kernel are also installed), instead of being built for a specific kernel like the non-dkms driver.
So for example, if you have only the main, and LTS kernels installed, this would install the necessary headers for those kernels, and the dkms version of the Nvidia driver:
yay -Syu linux-headers linux-lts-headers nvidia-open-dkms
Simply put, the non-dkms driver is built only for a specific kernel. nvidia-open can only be used with the linux kernel, and nvidia-open-lts can only be used with the linux-lts kernel.
The nvidia-open-dkms driver on the other hand, can be used with any kernel (one driver to rule them all), provided you have the headers for those kernels also installed. The integration will automatically occur on your system, which takes a little bit of extra time during updates.