{
"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": 146,
"filtered": 100,
"index_condition": "cscart_products_categories.product_id in (54,5474,345,56,59,280,73,76,82,141,92)"
},
"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 |
---|---|---|
54 | 261,240,233,103,75,70,68,40,34,26,15,257,1M | 0 |
56 | 306,304,261,257,243,240,239,107,90,88,81,77,76,67,44,34,26,264,1M | 0 |
59 | 304,261,257,243,240,233,206,107,95,87,75,70,46,39,34,26,15,306,1M | 0 |
73 | 304,261,257,243,240,239,235,234,107,67,46,36,35,34,33,26,25,17,16,306,1M | 0 |
76 | 306,261,257,249,233,163,73,68,46,34,27,15,1M | 0 |
82 | 261,257,233,123,110,65,40,39,34,15,306,1M | 0 |
92 | 261,257,243,240,238,107,101,88,72,66,44,40,34,27,26,16,306,1M | 0 |
141 | 261,257,249,238,235,123,118,67,62,47,34,27,17,306,1M | 0 |
280 | 269,267,264,191,82,67,44,34,33,29,306,228M | 0 |
345 | 304,261,257,251,241,240,239,238,107,90,88,81,77,76,67,44,34,306,1M | 0 |
5474 | 297,298,16,17,25,33,34,35,36,46,67,234,235,239,240,243,257,261,306,334,333,335,1M | 0 |