MySQL Error:

During script execution, MySQL returned the following error:

Got error 23 from storage engine

The SQL syntax you supplied is:

SELECT email_verified FROM `users` WHERE `id` = '' AND (`email_verified` = 'N')