{
"query_block": {
"select_id": 1,
"cost": 0.300049881,
"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": 107,
"cost": 0.031352335,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (16346,16348,15749,16347,16338,15753,16340,15747,16351,15750,15746,16337,16336,15745,15734,15741)",
"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": ["u508912950_dev_2025.cscart_products_categories.category_id"],
"loops": 107,
"rows": 1,
"cost": 0.09898188,
"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')"
}
},
{
"table": {
"table_name": "product_position_source",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "pt"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["category_id", "product_id"],
"ref": [
"const",
"u508912950_dev_2025.cscart_products_categories.product_id"
],
"loops": 107,
"rows": 1,
"cost": 0.10062028,
"filtered": 100
}
}
]
}
}
| product_id | category_ids | position |
|---|---|---|
| 15734 | 215,1397,1613,1614,1620,1671M | 0 |
| 15741 | 1397,1613,1614,1617,1620,1671M | 0 |
| 15745 | 1397,1613,1614,1620,1671,1617M | 0 |
| 15746 | 1397,1613,1614,1620,1671,1617M | 0 |
| 15747 | 1397,1401,1613,1614,1620,1671,1617M | 0 |
| 15749 | 1397,1401,1613,1614,1620,1671,1617M | 0 |
| 15750 | 1397,1401,1613,1614,1620,1671,1617M | 0 |
| 15753 | 1397,1613,1614,1620,1671,1617M | 0 |
| 16336 | 925,1125,1397,1613,1620,1670,1671,1396M | 0 |
| 16337 | 925,1125,1397,1613,1620,1670,1671,1396M | 0 |
| 16338 | 925,1125,1397,1613,1620,1670,1671,1396M | 0 |
| 16340 | 925,1125,1397,1613,1620,1670,1671,1396M | 0 |
| 16346 | 1397,1613,1614,1620,1671,1617M | 0 |
| 16347 | 1397,1613,1614,1620,1671,1617M | 0 |
| 16348 | 1397,1613,1614,1620,1671,1617M | 0 |
| 16351 | 1397,1613,1614,1620,1671,1617M | 0 |