Query time 0.00058
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
"temporary_table": {
"table": {
"table_name": "cscart_categories",
"access_type": "ref",
"possible_keys": ["c_status", "parent", "id_path"],
"key": "parent",
"key_length": "3",
"used_key_parts": ["parent_id"],
"ref": ["const"],
"rowid_filter": {
"range": {
"key": "id_path",
"used_key_parts": ["id_path"]
},
"rows": 10,
"selectivity_pct": 0.380517504
},
"rows": 7,
"filtered": 0.380517513,
"attached_condition": "cscart_categories.company_id = 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` = 'A' and cscart_categories.id_path like '397/413/2355/%'"
},
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["rfswire_cart.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'en')"
},
"table": {
"table_name": "cscart_seo_names",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "210",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code",
"company_id"
],
"ref": [
"rfswire_cart.cscart_categories.category_id",
"const",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
}
}
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
seo_name |
seo_path |
| 3336 |
2355 |
397/413/2355/3336 |
Standard Horizon HX100 |
0 |
A |
1 |
standard-horizon-hx100-en-2 |
397/413/2355 |
| 3337 |
2355 |
397/413/2355/3337 |
Standard Horizon HX210 |
0 |
A |
1 |
standard-horizon-hx210-en-5 |
397/413/2355 |
| 3338 |
2355 |
397/413/2355/3338 |
Standard Horizon HX300 |
0 |
A |
1 |
standard-horizon-hx300-en-2 |
397/413/2355 |
| 3683 |
2355 |
397/413/2355/3683 |
Standard Horizon HX320 |
0 |
A |
1 |
standard-horizon-hx320-en-7 |
397/413/2355 |
| 3339 |
2355 |
397/413/2355/3339 |
Standard Horizon HX380 |
0 |
A |
1 |
standard-horizon-hx380-en-3 |
397/413/2355 |
| 3340 |
2355 |
397/413/2355/3340 |
Standard Horizon HX40 |
0 |
A |
1 |
standard-horizon-hx40-en-5 |
397/413/2355 |
| 3341 |
2355 |
397/413/2355/3341 |
Standard Horizon HX870 |
0 |
A |
1 |
standard-horizon-hx870-en-4 |
397/413/2355 |
| 3342 |
2355 |
397/413/2355/3342 |
Standard Horizon HX890 |
0 |
A |
1 |
standard-horizon-hx890-en-4 |
397/413/2355 |