Sort aborted: Server shutdown in progress
query=SELECT products.*, min(products_atts.price) as pricefrom, min(products_atts.pricex) as pricexfrom, count(products_atts.product_id) as attcount, products_images.filename as thefile from prodcat_weight inner join products on products.prod_id=prodcat_weight.prod_id inner join suppliers on suppliers.sid=products.supplier inner join products_filters as fl1 on products.id=fl1.product_id inner join products_filters as fl2 on products.id=fl2.product_id inner join products_filters as fl3 on products.id=fl3.product_id inner join products_filters as fl4 on products.id=fl4.product_id left join products_atts on products.id=products_atts.product_id left join products_images on products.prod_id=products_images.prod_id and products_images.firstimg=1 WHERE prodcat_weight.cat_id in (125,235,270,260,261,232,265,233,283,284,234,124,255,246,248,285,245,268,123,241,273,274,239,242,243,244,240,253,96) and prodcat_weight.hidden='0' and suppliers.supplier_url='Lightup' and ((fl1.filter_id='27') and (fl2.filter_id='790') and (fl3.filter_id='864') and (fl4.filter_id='53') ) group by products.id order by prodcat_weight.weight ASC, id desc LIMIT 0, 24