MySQL and MariaDB on a VPS
Run MariaDB or MySQL yourself, with sensible memory settings and backups.
Yours to run
You install, secure, tune and back up the database.
Memory
The InnoDB buffer pool decides most performance. Give it enough without starving the rest of the server.
Storage
HDD storage favours well-indexed queries and a buffer pool large enough for the common data.
Security
Bind to localhost, use a separate user per application and never expose the port without strong reason.