MySQL extreme CPU usage

How do I solve Mysql consistently using extreme CPU?

depends on your site , try implement redis/memcached and litespeed cache if possible.

also tweak mysqld configuration.

100% even when no site is active
site hang-up grade also gives 500 errors :
the firewall is not activated. :

Secure that you disabled Base Dir ? in configuration