By my experiences when it happens on light queries there is a way to solve the problem. It seems when you start or restart mysql
after apache
this problem starts to appear and the source of the problem is confused open sockets in the php
process.
To solve it:
First restart mysql service
Then restart apache service