Here's one way:

Write a C++ DLL that exports C functions. You will import this DLL in Zorro. It will communicate directly with your SQL server in its native protocol.

For example, for communicating with MySQL, you can use the MySQL Connector/C++ library:
https://dev.mysql.com/doc/connector-cpp/8.0/en/