Cpu high mysql slow

Hello, I was having a problem for days with my site my site has over 400,000 records in the database daily is having these queries slow and leaving the use of cpu up there

I’m running easyengine + redis + wp on a server

Harddisk 256 GB SSD 2.5 " Harddisk 256 GB SSD 2.5 " RAM 32 GB Intel Xeon E3-1225v3 CPU

Can someone help me solve this problem, as I’m having a lot of site crash problem