SELECT * FROM societes WHERE REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(url_perso,'&','and'),'+',''),'-',''),'\'','') ,' ','') LIKE 'veroemma' OR REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(nom,'&','and'),'+',''),'-',''),'\'','') ,' ','') LIKE 'veroemma' AND actif=1 Table 'societes' is marked as crashed and should be repaired