Out of curiosity, why do you need to use both Postgres and MySQL/MariaDB?
Our internal stuff is almost all running straight Postgres but a small part of our application stack is abstracted on top of it to provide document DB functionality.
Postgres can do parallel query.