SELECT DISTINCT 1 AS `status`, `e`.`entity_id`, `e`.`attribute_set_id`, `e`.`type_id`, `e`.`created_at`, `e`.`updated_at`, `e`.`sku`, `cat_index`.`position` AS `cat_index_position`, `stock_status_index`.`stock_status` AS `is_salable`, `at_udropship_vendor`.`value` AS `udropship_vendor`, `at_udropship_status`.`status` AS `udropship_status`, `e`.`name`, `e`.`short_description`, `e`.`price`, `e`.`special_price`, `e`.`special_from_date`, `e`.`special_to_date`, `e`.`image`, `e`.`small_image`, `e`.`thumbnail`, `e`.`news_from_date`, `e`.`news_to_date`, `e`.`required_options`, `e`.`image_label`, `e`.`small_image_label`, `e`.`thumbnail_label`, `e`.`url_key`, `e`.`msrp`, `e`.`msrp_display_actual_price_type`, `e`.`price_type`, `e`.`weight_type`, `e`.`price_view`, `e`.`links_purchased_separately`, `e`.`links_exist`, `e`.`swatch_image`, `e`.`tax_class_id`, `e`.`featured`, `e`.`rotary_image`, `e`.`am_shipping_type`, `e`.`am_shipping_type_value`, `price_index`.`price`, `price_index`.`tax_class_id`, `price_index`.`final_price`, IF(price_index.tier_price IS NOT NULL, LEAST(price_index.min_price, price_index.tier_price), price_index.min_price) AS `minimal_price`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price` FROM `catalog_product_flat_1` AS `e`
INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(2, 4) AND cat_index.category_id='92'
INNER JOIN `udropship_vendor_product_limit` AS `udsclimit` ON e.entity_id=udsclimit.product_id
LEFT JOIN `cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id AND stock_status_index.website_id = 0 AND stock_status_index.stock_id = 1
LEFT JOIN `catalog_product_entity_int` AS `at_udropship_vendor` ON (`at_udropship_vendor`.`entity_id` = `e`.`entity_id`) AND (`at_udropship_vendor`.`attribute_id` = '141') AND (`at_udropship_vendor`.`store_id` = 0)
LEFT JOIN `udropship_vendor` AS `at_udropship_status` ON (at_udropship_status.`vendor_id`=at_udropship_vendor.value) AND (at_udropship_status.vendor_id IS null OR at_udropship_status.status='A')
INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.website_id = '1' AND price_index.customer_group_id = 0
INNER JOIN `catalog_product_index_eav` AS `productcollection_location` ON `productcollection_location`.`entity_id` = `e`.`entity_id` AND `productcollection_location`.`attribute_id` = '215' AND `productcollection_location`.`store_id` = '1' AND `productcollection_location`.`value` IN (25) WHERE (udsclimit.class_id in ('3', -1, '*')) AND ((ROUND(`price_index`.`min_price`, 2) <= 99.998)) ORDER BY `price_index`.`min_price` asc
LIMIT 12