Not sure what the deal is with suggesting MIDI sync products, when the core of the issue is latency that occurs on any digital system.

There is no zero-latency solution if you want to process your inputs with plugins inside your DAW. Anyone who tries to say otherwise does not grasp the fundamental limitations of digital audio - real-time does not exist in a computer, there’s always some latency.

The only way you can get close is by lowering the buffer size of your DAW settings until latency becomes almost un-noticeable (it will still there but may be as low as ~5ms). The downside is all your plugins will now consume far more CPU.