SELECT SQL_CALC_FOUND_ROWS COUNT(results.c_1) as count, results.* FROM ( SELECT * FROM p_1 WHERE c_1 LIKE "%Dermotextile%" AND id!=50430 AND c_18 < 1594457682 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%pantacourt%" AND id!=50430 AND c_18 < 1594457682 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%ventre%" AND id!=50430 AND c_18 < 1594457682 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%plat%" AND id!=50430 AND c_18 < 1594457682 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%s%" AND id!=50430 AND c_18 < 1594457682 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%m%" AND id!=50430 AND c_18 < 1594457682 ) as results WHERE c_18 < 1594457682 GROUP BY results.id ORDER BY count DESC LIMIT 6
Incorrect key file for table '/tmp/#sql_65e4_2.MYI'; try to repair it