Adds check for MySQL Query Cache