Newly installed server with only 1 woocommerce site on php 8.3 - CPU usage 100%

Here are the top processes. I don’t know if its normal but mariadb usage is high and I have multiple lsphp. I don’t have any SSH keys. The password for the panel is not the default one.

The sever has 8gb ram and 4 cpu cores and the website 20-30k unique visitors per month.

I use Cloudflare under attack mode and bot fight mode.

Sometimes it drops under 10% or even between 10 and 30. And after a while it is at 100% again for couple of minutes. Probably 70-80% of the time its at 100%.

Any suggestions how to fix this?

Seems your MySQL is using so many resources can you install a query monitor in Wordpress and see if any query is using the high resource?