Thank you for your replies :)
Although dev-db/mariadb is still pulled by net-analyzer/zabbix with "proxy" enabled, the compile time is shortened by about 75% with the following entries in package.use:
dev-db/mariadb -backup -pam -perl -server
net-analyzer/zabbix agent proxy mysql -agent2 -postgres ...