{
"query_block": {
"select_id": 1,
"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"],
"rows": 59,
"filtered": 100,
"index_condition": "cscart_products_categories.product_id in (6091,3287,35730,43825,36272,47657,1586,40761,2961,2135,2870,34548,40929,45587,49185,44951,6544,49290)"
}
},
{
"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": ["dev_db.cscart_products_categories.category_id"],
"rows": 1,
"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 |
---|---|
1586 | 111M |
2135 | 120M |
2870 | 340,313M |
2961 | 120M |
3287 | 315,412,118,119M |
6091 | 315,412,119M |
6544 | 119,315,412,213M |
34548 | 119,412,213M |
35730 | 313,191M |
36272 | 412,122M |
40761 | 315,119,412,118M |
40929 | 169M |
43825 | 122M |
44951 | 412,119M |
45587 | 121M |
47657 | 110,315,119,412,213M |
49185 | 315,213,95,412,119M |
49290 | 412,315,213,96M |