SELECT * FROM `data` WHERE `type`='file' AND (`name` LIKE '%Порно%' OR `name` LIKE '%первого%' OR `name` LIKE '%лица%' OR `name` LIKE '%толстой%' OR `name` LIKE '%брюнеткой%') AND `id`!='1024' AND `moder`='0' AND `moder_public` = 1 ORDER BY RAND() LIMIT 12;
MySQL server has gone away