{
"query_block": {
"select_id": 1,
"table": {
"table_name": "cscart_products_categories",
"access_type": "range",
"possible_keys": ["PRIMARY", "pt"],
"key": "pt",
"key_length": "3",
"used_key_parts": ["product_id"],
"rows": 145,
"filtered": 100,
"index_condition": "cscart_products_categories.product_id in (311,58,1581,5556,5476,93)"
},
"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",
"herbaria_cscart_4_18.cscart_products_categories.product_id"
],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_categories",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "c_status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["herbaria_cscart_4_18.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 | position |
---|---|---|
58 | 261,249,58,41,24,306,1M | 0 |
93 | 261,257,243,241,240,236,108,107,83,79,60,41,26,20,19,306,1M | 0 |
311 | 259,247,246,222,191,179,119,47,42,41,40,33,306,228M | 0 |
1581 | 81,67,330,228,313,306,304,23,295,269,265,246,241,222,201,192,179,120,83,74,64,61,54,50,42,41,337,217M | 0 |
5476 | 336,242,307,306,304,271,270,261,258,234,233,222,217,208,194,181,104,101,95,94,91,88,82,79,71,70,67,56,49,42,41,23,17,15,10,29,1M | 0 |
5556 | 261,20,255,26,251,241,240,238,237,236,235,15,234,233,230,229,192,179,336,175,123,120,109,101,94,83,79,74,73,69,68,67,64,60,55,54,53,52,47,46,44,43,41,258,306,304,295,267,16,265,17,264,19,1M | 0 |