MySQL Error no 1317: Query execution was interrupted