SELECT 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`, `e`.`name`, `e`.`price`, `e`.`manufacturer`, `e`.`manufacturer_value`, `e`.`small_image`, `e`.`tax_class_id`, `e`.`url_key`, `e`.`thumbnail`, `e`.`gender`, `e`.`gender_value`, `e`.`short_description`, `e`.`special_price`, `e`.`special_from_date`, `e`.`special_to_date`, `e`.`news_from_date`, `e`.`news_to_date`, `e`.`required_options`, `e`.`price_type`, `e`.`weight_type`, `e`.`price_view`, `e`.`image_label`, `e`.`small_image_label`, `e`.`thumbnail_label`, `e`.`links_purchased_separately`, `e`.`msrp_display_actual_price_type`, `e`.`msrp`, `e`.`links_exist`, `e`.`strap`, `e`.`strap_value`, `e`.`watch_style`, `e`.`watch_style_value`, `e`.`gem_color`, `e`.`gem_color_value`, `e`.`color`, `e`.`color_value`, `e`.`item_size`, `e`.`item_size_value`, `e`.`plating`, `e`.`plating_value`, `e`.`main_stone`, `e`.`main_stone_value`, `e`.`brand_name`, `e`.`brand_name_value`, `e`.`availability_status`, `e`.`availability_status_value`, `e`.`tip_emag`, `e`.`tip_emag_value`, `e`.`swarovski_color`, `e`.`swarovski_color_value`, `e`.`swarovski_crystal`, `e`.`swarovski_crystal_value`, `e`.`emag_style`, `e`.`emag_style_value`, `e`.`emag_model`, `e`.`emag_model_value`, `e`.`emag_talia`, `e`.`emag_talia_value`, `e`.`emag_daljina`, `e`.`emag_daljina_value`, `e`.`emag_daljina_rakavi`, `e`.`emag_daljina_rakavi_value`, `e`.`sesionality`, `e`.`sesionality_value`, `e`.`swatch_image`, `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`, `stock_status_index`.`stock_status` AS `is_salable` 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='202' 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 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 INNER JOIN `search_tmp_5bcd5c4857a2d6_65770623` AS `search_result` ON e.entity_id = search_result.entity_id ORDER BY `e`.`availability_status_value` ASC, `e`.`entity_id` DESC, `e`.`entity_id` DESC, `e`.`availability_status_value` ASC LIMIT 60