MPS::$wpdb->get_results( MPS::$wpdb->prepare( "SELECT id, MAX(weight) as weight, zone_1, zone_2, zone_3, zone_4, zone_5, "
. "zone_6, zone_7, zone_8, zone_9, zone_10, zone_11 FROM wp_express WHERE ( shipping_type = 'export' "
. "AND package_type = 'documents' AND weight <= %f ) OR ( shipping_type = 'export' AND package_type = 'documents' AND weight = 0.5 ) GROUP BY weight ORDER BY weight desc LIMIT 1", $sum ) )