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 (731) or id in (247859,247860,247861,284907,284908,284909,284913,284914,284915,284910,284911,284912,284916,284917,284918,246355,246356,246357)) and (lang='pl') and (active=1) order by position asc, id desc limit 0,20