Why is Craft extremely slow when using a shared, external database?
My suggestion would be to do what is outlined in Database &amp; Asset Syncing Between Environments in Craft CMS

It's a little bit of logistical organization coupled with some scripts to do the asset/db synchronization.

It's going to be much, much faster than working with a remote db... and safer, too.