select price,price_old,shop_id,user_rating,flag_new,flag_promotion,flag_sale,stock,symbol,availability,unlimited,username,comment_count,id,type,title,position,photo,content_category_id,beginning,url,date from viw_shop_article cc where (content_category_id in (778) or id in (252211,252212,252213,263083,263084,263085,248871,248872,248873,245943,245944,245945,285333,285334,285335,285336,285337,285338,272327,272328,272329,266119,266120,266121,251419,251420,251421,285978,285979,285980,285981,285982,285983,285984,285985,285986,270863,270864,270865)) and (lang='pl') and (active=1) order by position asc, id desc limit 0,20