Query time 0.00140
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "netting_categories.is_trash, netting_categories.position, netting_category_descriptions.category",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "netting_categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"id_path",
"p_category_id"
],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rowid_filter": {
"range": {
"key": "parent",
"used_key_parts": ["parent_id"]
},
"rows": 9,
"selectivity_pct": 5
},
"rows": 7,
"filtered": 5,
"index_condition": "netting_categories.id_path like '419/%'",
"attached_condition": "netting_categories.parent_id = 419 and (netting_categories.usergroup_ids = '' or find_in_set(0,netting_categories.usergroup_ids) or find_in_set(1,netting_categories.usergroup_ids)) and netting_categories.`status` = 'A' and netting_categories.category_id <> 264 and netting_categories.storefront_id in (0,1)"
}
},
{
"table": {
"table_name": "netting_category_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["pucuda_cscart.netting_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(netting_category_descriptions.lang_code = 'es')"
}
},
{
"table": {
"table_name": "netting_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": [
"pucuda_cscart.netting_categories.category_id",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(netting_seo_names.`type` = 'c' and netting_seo_names.dispatch = '' and netting_seo_names.lang_code = 'en')"
}
}
]
}
}
}
}
Result
category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
ab__lc_catalog_image_control |
ab__fn_category_status |
ab__fn_label_color |
ab__fn_label_background |
ab__fn_use_origin_image |
ab__fn_label_text |
ab__fn_label_show |
age_verification |
age_limit |
age_warning_message |
420 |
419 |
419/420 |
Cable Clamps |
10 |
A |
0 |
0 |
cable-clamps |
419 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
N |
0 |
|
421 |
419 |
419/421 |
Zip ties |
20 |
A |
0 |
0 |
zip-ties |
419 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
N |
0 |
|
422 |
419 |
419/422 |
Eye Bolts |
30 |
A |
0 |
0 |
eye-bolts |
419 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
N |
0 |
|
423 |
419 |
419/423 |
Webbing Loops |
40 |
A |
0 |
0 |
webbing-loops |
419 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
N |
0 |
|
424 |
419 |
419/424 |
Shackles |
50 |
A |
0 |
0 |
shackles |
419 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
N |
0 |
|
425 |
419 |
419/425 |
Snap Hooks |
60 |
A |
0 |
0 |
snap-hooks |
419 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
N |
0 |
|
426 |
419 |
419/426 |
Carabiners |
390 |
A |
0 |
0 |
carabiners |
419 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
N |
0 |
|