{
"query_block": {
"select_id": 1,
"cost": 0.058339871,
"nested_loop": [
{
"table": {
"table_name": "cscart_products_categories",
"access_type": "range",
"possible_keys": ["PRIMARY", "pt"],
"key": "pt",
"key_length": "3",
"used_key_parts": ["product_id"],
"loops": 1,
"rows": 22,
"cost": 0.02376923,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (391014,390986,312443,111835,111837,112217,116529,116541,116547,391009,131,177)",
"using_index": true
}
},
{
"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": ["u985510652_ecartify.cscart_products_categories.category_id"],
"loops": 22,
"rows": 1,
"cost": 0.02049688,
"filtered": 100,
"attached_condition": "cscart_categories.storefront_id in (0,1) and (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')"
}
}
]
}
}
| product_id | category_ids |
|---|---|
| 131 | 209M |
| 177 | 212M |
| 111835 | 289 |
| 111837 | 450 |
| 112217 | 225,288 |
| 116529 | 455,456,458 |
| 116541 | 166 |
| 116547 | 166 |
| 312443 | 461,460M |
| 390986 | 223M |
| 391009 | 223M |
| 391014 | 223M |