error: Lost connection to MySQL server during query
SELECT DISTINCT p.*, po.*, s.*, AS numer_id, pmc.wartosc AS cena, AS id, so.nazwa as periodyk_nazwa, ko.nazwa as numer_nazwa FROM produkty p LEFT JOIN produkty_producenci pm ON LEFT JOIN producenci m ON LEFT JOIN produkty_opisy po ON AND po.jezyk_id=2 LEFT JOIN producenci_opisy mo ON AND mo.jezyk_id=2 LEFT JOIN produkty_modele_cen pmc ON AND pmc.model_id=1 LEFT JOIN produkty_kategorie pk ON AND pk.domyslna=1 LEFT JOIN kategorie k ON AND pk.domyslna=1 LEFT JOIN kategorie_opisy ko ON AND ko.jezyk_id=2 LEFT JOIN subdomeny s ON LEFT JOIN subdomeny_opisy so ON AND so.jezyk_id=2 WHERE 1 AND po.slowa_kluczowe LIKE '%motif of the body%' AND p.status>0