string(320) " select id, if( idprojekt = 24709, (WEIGHT() * pay * 1.5), (WEIGHT() * pay) ) as w from kapot_goods, kapot_goods_strict where allRegion = 107 AND conditionInt = 2 AND firmPay > 3 order by w desc, nrSort desc, goodsPay desc limit 20020, 20 option max_matches=50000; show meta LIKE 'total%' "