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 (746) or id in (244099,244100,244101,248915,248916,248917,246003,246004,246005,252583,252584,252585,244895,244896,244897,284328,284329,284330,244899,244900,244901,261127,261128,261129,252219,252220,252221,278467,278468,278469,266355,266356,266357,255851,255852,255853,260211,260212,260213,261667,261668,261669,250335,250336,250337,285297,285298,285299,250263,250264,250265,245143,245144,245145,262187,262188,262189,259299,259300,259301,246007,246008,246009,244187,244188,244189,255003,255004,255005,248947,248948,248949,248943,248944,248945,248959,248960,248961)) and (lang='pl') and (active=1) order by position asc, id desc limit 0,20