SELECT * FROM paszocatalog WHERE (title LIKE '%bt%' OR p_code LIKE 'bt%' ) AND draft != 1 AND category NOT LIKE 'L%' AND category NOT LIKE 'raw' AND category NOT LIKE 'art' AND category NOT LIKE 'inf' ORDER BY createon DESC