What generation is your Oxygen 61? I believe they are up to Gen 3 now.
Do you have the latest drivers and firmware updates installed?
Is the Oxygen 61 plugged directly into it's own dedicated USB
"2" port? Don't use a USB 3 port.
"ONLY USE MANUFACTURER'S ASIO DRIVERS FOR YOUR AUDIO INTERFACE THAT SUPPORT YOUR OS!" Always record at 24 bit, and the faster the frequency, the lower the latency.
44.100 k/Hz highest latency
48 k/Hz typically around 2x lower latency and safe and stable for most computer systems
96 k/Hz typically 2x lower than 48 k/Hz, but can cause problems with a mid grade machine, you need a robust i7 grade computer with plenty of processing power to stay safe and stable.
Using hacked drivers to run an outdated 1st gen MIDI keyboard controller with Win 10 may make it work but can really slow it down.
So can a cheap or old USB cable or unpowered USB hub sharing other devices. You can't always tell if a USB cable is faulty by looking at it, and cheap USB cables aren't always suited well to transmit MIDI data.
Have you tried running the Oxy 61 MIDI output directly through a standard MIDI 5 pin cable to a separate MIDI input on a separate interface? Make sure to choose/route the interface's MIDI out port as input for the MIDI track routed to the synth you're testing with.
Go into SONAR's control surface properties, Uncheck the Oxy 61 than hit Apply to disable it.
This bypasses the Oxy 61 drivers entirely but still routes MIDI input for the keyboard and uses USB only for power.
You can easily test for any of these problems simply by disconnecting the Oxy 61 by unplugging it from the computer, rebooting Windows and testing with a different MIDI keyboard or virtual keyboard controller.
If you get the same latency problems, plug the Oxy 61 back in, disconnect all other USB devices you absolutely don't need, reboot and test again.
If that works, than something
else is hogging and slowing down your motherboard's USB root hub that's not even related to MIDI or SONAR.. ??????
Good luck bro..