{
"query_block": {
"select_id": 1,
"cost": 0.082716562,
"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": 32,
"cost": 0.03275928,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114)",
"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": ["lvshop.cscart_products_categories.category_id"],
"loops": 32,
"rows": 1,
"cost": 0.02944128,
"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 |
|---|---|
| 81 | 226M |
| 82 | 246M |
| 83 | 246M |
| 84 | 246M |
| 85 | 246M |
| 86 | 238M |
| 87 | 246M |
| 88 | 247M |
| 89 | 247M |
| 90 | 247M |
| 91 | 227M |
| 92 | 227M |
| 93 | 248M |
| 94 | 248M |
| 95 | 248M |
| 96 | 248M |
| 97 | 242M |
| 100 | 242M |
| 101 | 238M |
| 102 | 227M |
| 103 | 242M |
| 104 | 242M |
| 105 | 238M |
| 106 | 238M |
| 107 | 227M |
| 108 | 242M |
| 109 | 227M |
| 110 | 243M |
| 111 | 243M |
| 112 | 243M |
| 113 | 237M |
| 114 | 243M |