SELECT `e`.*, IF(at_visibility.value_id > 0, at_visibility.value, at_visibility_default.value) AS `visibility`, IF(at_status.value_id > 0, at_status.value, at_status_default.value) AS `status`, `cat_index`.`position` AS `cat_index_position` FROM `catalog_product_entity` AS `e` INNER JOIN `catalog_product_entity_int` AS `at_visibility_default` ON (`at_visibility_default`.`entity_id` = `e`.`entity_id`) AND (`at_visibility_default`.`attribute_id` = '102') AND `at_visibility_default`.`store_id` = 0 LEFT JOIN `catalog_product_entity_int` AS `at_visibility` ON (`at_visibility`.`entity_id` = `e`.`entity_id`) AND (`at_visibility`.`attribute_id` = '102') AND (`at_visibility`.`store_id` = 1) INNER JOIN `catalog_product_entity_int` AS `at_status_default` ON (`at_status_default`.`entity_id` = `e`.`entity_id`) AND (`at_status_default`.`attribute_id` = '96') AND `at_status_default`.`store_id` = 0 LEFT JOIN `catalog_product_entity_int` AS `at_status` ON (`at_status`.`entity_id` = `e`.`entity_id`) AND (`at_status`.`attribute_id` = '96') AND (`at_status`.`store_id` = 1) 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.category_id = '529' AND cat_index.is_parent=1 WHERE (IF(at_visibility.value_id > 0, at_visibility.value, at_visibility_default.value) = '4') AND (IF(at_status.value_id > 0, at_status.value, at_status_default.value) = '1') AND (type_id = 'grouped' OR (type_id = 'simple' AND `e`.entity_id NOT IN (SELECT child_id FROM catalog_product_relation WHERE 1))) ORDER BY `cat_index`.`position` ASC LIMIT 100Array ( [0] => Array ( [entity_id] => 114958 [entity_type_id] => 4 [attribute_set_id] => 4 [type_id] => simple [sku] => Seg-Flow S3 Automated Sampling Solution [has_options] => 0 [required_options] => 0 [created_at] => 2020-09-08 11:22:05 [updated_at] => 2020-09-11 16:58:59 [visibility] => 4 [status] => 1 [cat_index_position] => 1 )[1] => Array ( [entity_id] => 111014 [entity_type_id] => 4 [attribute_set_id] => 4 [type_id] => simple [sku] => Seg-Flow-4800-Automated-Sampling-Solution [has_options] => 0 [required_options] => 0 [created_at] => 2017-12-18 12:34:31 [updated_at] => 2020-08-14 12:26:53 [visibility] => 4 [status] => 1 [cat_index_position] => 2 )[2] => Array ( [entity_id] => 111013 [entity_type_id] => 4 [attribute_set_id] => 4 [type_id] => simple [sku] => Seg-Flow-1200-Automated-Sampling-Solution [has_options] => 0 [required_options] => 0 [created_at] => 2017-12-18 12:34:30 [updated_at] => 2020-08-14 12:27:11 [visibility] => 4 [status] => 1 [cat_index_position] => 3 )[3] => Array ( [entity_id] => 111015 [entity_type_id] => 4 [attribute_set_id] => 4 [type_id] => simple [sku] => Seg-Flow-8000i-Automated-Sampling-Solution [has_options] => 0 [required_options] => 0 [created_at] => 2017-12-18 12:34:32 [updated_at] => 2020-08-14 12:26:33 [visibility] => 4 [status] => 1 [cat_index_position] => 4 )[4] => Array ( [entity_id] => 114959 [entity_type_id] => 4 [attribute_set_id] => 4 [type_id] => simple [sku] => FISP Probes [has_options] => 0 [required_options] => 0 [created_at] => 2020-09-08 11:28:38 [updated_at] => 2020-09-11 16:57:48 [visibility] => 4 [status] => 1 [cat_index_position] => 5 ))

Auto Sampling