{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "if(products.product_type = 'V',if(mccd__variation_stocks.parent_product_id is null,0,1),if(products.amount > 0,1,if(products.tracking = 'D',1,0))) desc, products.`timestamp` desc, products.product_id",
"temporary_table": {
"filesort": {
"sort_key": "case when products.parent_product_id <> 0 then products.parent_product_id else products.product_id end",
"temporary_table": {
"table": {
"table_name": "pfv_28",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "variant_id",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["const"],
"rows": 37073,
"filtered": 29.32691765,
"attached_condition": "pfv_28.feature_id = 28"
},
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status", "idx_company_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["devmotorsbay.pfv_28.product_id"],
"rows": 1,
"filtered": 98.33734131,
"attached_condition": "products.company_id in (1,3,5,6,7,8,10,11,12,13,15,0) and (products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A' and products.is_invoice = 'N' and products.product_type <> 'D'"
},
"table": {
"table_name": "companies",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["company_id"],
"ref": ["devmotorsbay.products.company_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "companies.`status` in ('A','S')"
},
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "usergroup",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["devmotorsbay.pfv_28.product_id"],
"rows": 1,
"filtered": 99.99243927,
"attached_condition": "prices.lower_limit = 1 and prices.usergroup_id in (0,0,1)",
"using_index": true
},
"table": {
"table_name": "mb_vehicle_listing_index",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["product_id"],
"ref": ["devmotorsbay.pfv_28.product_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(mb_vehicle_listing_index.product_id = products.product_id)"
},
"table": {
"table_name": "mb_recaon_visibility_case",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["case_id"],
"ref": ["devmotorsbay.mb_vehicle_listing_index.case_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond((mb_recaon_visibility_case.case_id is null or mb_recaon_visibility_case.import_source not like 'recaon_%' or mb_vehicle_listing_index.storefront_id = 1) and (mb_recaon_visibility_case.case_id is null or mb_recaon_visibility_case.selected_flow <> 'direct_sale' or mb_recaon_visibility_case.sale_listing_status <> 'hold')) and trigcond(trigcond(mb_vehicle_listing_index.case_id is not null))"
},
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": ["PRIMARY", "pt"],
"key": "pt",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["devmotorsbay.pfv_28.product_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_categories",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "c_status", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["devmotorsbay.products_categories.category_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "(cscart_categories.usergroup_ids = '' or find_in_set(0,cscart_categories.usergroup_ids) or find_in_set(1,cscart_categories.usergroup_ids)) and cscart_categories.`status` in ('A','H') and cscart_categories.storefront_id in (0,1)"
},
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "product_id", "idx_product_lang"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["product_id", "lang_code"],
"ref": ["devmotorsbay.pfv_28.product_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(descr1.lang_code = 'en')"
},
"table": {
"table_name": "<derived2>",
"access_type": "ref",
"possible_keys": ["key0"],
"key": "key0",
"key_length": "5",
"used_key_parts": ["parent_product_id"],
"ref": ["devmotorsbay.products.parent_product_id"],
"rows": 2,
"filtered": 100,
"materialized": {
"query_block": {
"select_id": 2,
"filesort": {
"sort_key": "cscart_products.parent_product_id",
"temporary_table": {
"table": {
"table_name": "cscart_products",
"access_type": "range",
"possible_keys": ["idx_parent_product_id"],
"key": "idx_parent_product_id",
"key_length": "4",
"used_key_parts": ["parent_product_id"],
"rows": 26,
"filtered": 100,
"index_condition": "cscart_products.parent_product_id <> 0",
"attached_condition": "cscart_products.amount > 0 and cscart_products.product_type = 'V'"
}
}
}
}
}
},
"table": {
"table_name": "csc_product_currency_items",
"access_type": "eq_ref",
"possible_keys": ["product_id_company_id"],
"key": "product_id_company_id",
"key_length": "16",
"used_key_parts": ["product_id", "company_id"],
"ref": ["devmotorsbay.pfv_28.product_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(csc_product_currency_items.product_id = pfv_28.product_id)"
}
}
}
}
}
}
}
| product_id | product | company_name | cp_hash_template_as_timestamp_value | product_ids | product_types | parent_product_ids | product_type | parent_product_id | instock_marker | instock_sorting | currency | amount | purchase_qty | is_invoice | ei_order_id | ei_status | ei_for_user_id |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 17577 | Protector-wiring-91970B1250 | Motorsbay | 1716623750 | 17577,17577,17577,17577,17577,17577,17577,17577,17577,17577,17577,17577,17577 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 34 | N | 0 | unpaid | |
| 17578 | Wiring Assembly - Follower-915U0G9640 | Motorsbay | 1716623750 | 17578,17578,17578,17578,17578,17578,17578,17578,17578,17578,17578,17578,17578 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 31 | N | 0 | unpaid | |
| 17579 | Protector-wiring-91970J5170 | Motorsbay | 1716623750 | 17579,17579,17579,17579,17579,17579,17579,17579,17579,17579,17579,17579,17579 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 58 | N | 0 | unpaid | |
| 17580 | grommet-91981J5090 | Motorsbay | 1716623750 | 17580,17580,17580,17580,17580,17580,17580,17580,17580,17580,17580,17580,17580 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 46 | N | 0 | unpaid | |
| 17581 | grommet-91981B1031 | Motorsbay | 1716623750 | 17581,17581,17581,17581,17581,17581,17581,17581,17581,17581,17581,17581,17581 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 97 | N | 0 | unpaid | |
| 17582 | grommet-91981B1041 | Motorsbay | 1716623750 | 17582,17582,17582,17582,17582,17582,17582,17582,17582,17582,17582,17582,17582 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 24 | N | 0 | unpaid | |
| 17583 | Junction Box Assembly-Rear-91956G9011 | Motorsbay | 1716623750 | 17583,17583,17583,17583,17583,17583,17583,17583,17583,17583,17583,17583,17583 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 16 | N | 0 | unpaid | |
| 17584 | Protector-wiring-91970G9210 | Motorsbay | 1716623750 | 17584,17584,17584,17584,17584,17584,17584,17584,17584,17584,17584,17584,17584 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 2 | N | 0 | unpaid | |
| 17585 | Protector-wiring-91970G9120 | Motorsbay | 1716623750 | 17585,17585,17585,17585,17585,17585,17585,17585,17585,17585,17585,17585,17585 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 47 | N | 0 | unpaid | |
| 17586 | Protector-wiring-91970G9130 | Motorsbay | 1716623750 | 17586,17586,17586,17586,17586,17586,17586,17586,17586,17586,17586,17586,17586 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 34 | N | 0 | unpaid | |
| 17587 | Protector-wiring-91970G9160 | Motorsbay | 1716623750 | 17587,17587,17587,17587,17587,17587,17587,17587,17587,17587,17587,17587,17587 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 98 | N | 0 | unpaid | |
| 17588 | Protector-wiring-91970J5130 | Motorsbay | 1716623750 | 17588,17588,17588,17588,17588,17588,17588,17588,17588,17588,17588,17588,17588 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 73 | N | 0 | unpaid | |
| 17589 | Protector-wiring-91970J5150 | Motorsbay | 1716623750 | 17589,17589,17589,17589,17589,17589,17589,17589,17589,17589,17589,17589,17589 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 8 | N | 0 | unpaid | |
| 17590 | Protector-wiring-91970J5160 | Motorsbay | 1716623750 | 17590,17590,17590,17590,17590,17590,17590,17590,17590,17590,17590,17590,17590 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 8 | N | 0 | unpaid | |
| 17591 | Protector-wiring-91970J5190 | Motorsbay | 1716623750 | 17591,17591,17591,17591,17591,17591,17591,17591,17591,17591,17591,17591,17591 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 83 | N | 0 | unpaid | |
| 17592 | Plug-S/ABS housing, right-919803M020 | Motorsbay | 1716623750 | 17592,17592,17592,17592,17592,17592,17592,17592,17592,17592,17592,17592,17592 | P,P,P,P,P,P,P,P,P,P,P,P,P | 0,0,0,0,0,0,0,0,0,0,0,0,0 | P | 0 | 1 | 0 | KRW | 0 | 2 | N | 0 | unpaid |