Query time 0.00052
JSON explain
{
"query_block": {
"select_id": 1,
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "ref",
"possible_keys": [
"c_status",
"parent",
"id_path"
],
"key": "parent",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "((`_testcscart`.`cscart_categories`.`company_id` = 1) and ((`_testcscart`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`_testcscart`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`_testcscart`.`cscart_categories`.`usergroup_ids`)) and (`_testcscart`.`cscart_categories`.`status` = 'A') and (`_testcscart`.`cscart_categories`.`id_path` like '1/%'))"
}
},
{
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id",
"lang_code"
],
"key_length": "9",
"ref": [
"_testcscart.cscart_categories.category_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "<if>(is_not_null_compl(cscart_category_descriptions), (`_testcscart`.`cscart_category_descriptions`.`lang_code` = 'ja'), true)"
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code",
"company_id"
],
"key_length": "210",
"ref": [
"_testcscart.cscart_categories.category_id",
"const",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "<if>(is_not_null_compl(cscart_seo_names), ((`_testcscart`.`cscart_seo_names`.`type` = 'c') and (`_testcscart`.`cscart_seo_names`.`dispatch` = '') and (`_testcscart`.`cscart_seo_names`.`lang_code` = 'ja')), true)"
}
}
]
}
}
}