string(868) "SELECT SQL_CALC_FOUND_ROWS SQL_SMALL_RESULT DISTINCT s.*, IFNULL(s.title_sk, s.title_cs) as title, s.price_sk_from as price, s.info_sk as info, s.sellout_sk as sellout, s.action_now_sk as action_now, i.type as iType, i.x, i.y, i.file_updated, s.info_sk as info FROM sets_catalog sc JOIN sets s ON s.id = sc.set_id JOIN firms fs ON fs.id = s.firm_seo LEFT JOIN images i ON i.id = s.img WHERE (sc.catalog IN (1165)) AND s.catalog = 0 AND fs.published = 1 AND s.published_sk = "y" ORDER BY IFNULL(s.sellindex, 0) DESC, fs.sell_index DESC, s.sells DESC, s.title_sk ASC LIMIT 0, 15"