Query time 0.00218
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "23.65"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"id_path",
"p_category_id"
],
"key": "parent",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 31,
"rows_produced_per_join": 0,
"filtered": "0.16",
"cost_info": {
"read_cost": "7.75",
"eval_cost": "0.00",
"prefix_cost": "10.85",
"data_read_per_join": "181"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"usergroup_ids",
"status",
"position",
"age_verification",
"age_limit",
"is_trash",
"ab__lc_catalog_image_control",
"ab__fn_category_status",
"ab__fn_label_color",
"ab__fn_label_background",
"ab__fn_use_origin_image",
"storefront_id"
],
"attached_condition": "(((`s2cart`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`s2cart`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`s2cart`.`cscart_categories`.`usergroup_ids`))) and (`s2cart`.`cscart_categories`.`status` = 'A') and (`s2cart`.`cscart_categories`.`id_path` like '1521/1775/%') and (`s2cart`.`cscart_categories`.`category_id` <> 414) and (`s2cart`.`cscart_categories`.`storefront_id` in (0,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": [
"s2cart.cscart_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.01",
"eval_cost": "0.00",
"prefix_cost": "10.87",
"data_read_per_join": "324"
},
"used_columns": [
"category_id",
"lang_code",
"category",
"age_warning_message",
"ab__custom_category_h1",
"ab__fn_label_text",
"ab__fn_label_show"
]
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code"
],
"key_length": "206",
"ref": [
"s2cart.cscart_categories.category_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 696,
"rows_produced_per_join": 34,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.30",
"eval_cost": "3.48",
"prefix_cost": "23.65",
"data_read_per_join": "58K"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
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 |
ab__custom_category_h1 |
1776 |
1775 |
1521/1775/1776 |
Adapters |
0 |
A |
0 |
0 |
adapters |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1777 |
1775 |
1521/1775/1777 |
Basin |
0 |
A |
0 |
0 |
basin |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1778 |
1775 |
1521/1775/1778 |
Burettes |
0 |
A |
0 |
0 |
burettes |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1779 |
1775 |
1521/1775/1779 |
Capsule |
0 |
A |
0 |
0 |
capsule |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1780 |
1775 |
1521/1775/1780 |
Columns |
0 |
A |
0 |
0 |
columns |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1782 |
1775 |
1521/1775/1782 |
Combustion Boat |
0 |
A |
0 |
0 |
combustion-boat |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1781 |
1775 |
1521/1775/1781 |
Condensers |
0 |
A |
0 |
0 |
condensers |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1784 |
1775 |
1521/1775/1784 |
Cones |
0 |
A |
0 |
0 |
cones |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1785 |
1775 |
1521/1775/1785 |
Crucibles |
0 |
A |
0 |
0 |
crucibles |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1783 |
1775 |
1521/1775/1783 |
Cylinders |
0 |
A |
0 |
0 |
cylinders |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1789 |
1775 |
1521/1775/1789 |
Desiccators |
0 |
A |
0 |
0 |
desiccators |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1786 |
1775 |
1521/1775/1786 |
Dishes |
0 |
A |
0 |
0 |
dishes |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1787 |
1775 |
1521/1775/1787 |
Distilling Apparatus |
0 |
A |
0 |
0 |
distilling-apparatus |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1788 |
1775 |
1521/1775/1788 |
Extraction Apparatus |
0 |
A |
0 |
0 |
extraction-apparatus |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1790 |
1775 |
1521/1775/1790 |
Filtration Assembly |
0 |
A |
0 |
0 |
filtration-assembly |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1791 |
1775 |
1521/1775/1791 |
Flasks |
0 |
A |
0 |
0 |
flasks |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1794 |
1775 |
1521/1775/1794 |
Funnels |
0 |
A |
0 |
0 |
funnels |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1795 |
1775 |
1521/1775/1795 |
Gas Generator |
0 |
A |
0 |
0 |
gas-generator |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1792 |
1775 |
1521/1775/1792 |
Glass Beakers |
0 |
A |
0 |
0 |
glass-beakers |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1793 |
1775 |
1521/1775/1793 |
Glass Bottles |
0 |
A |
0 |
0 |
glass-bottles |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1796 |
1775 |
1521/1775/1796 |
Glassware Assembly |
0 |
A |
0 |
0 |
glassware-assembly |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1799 |
1775 |
1521/1775/1799 |
Jars |
0 |
A |
0 |
0 |
jars |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1798 |
1775 |
1521/1775/1798 |
Kettles |
0 |
A |
0 |
0 |
kettles |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1797 |
1775 |
1521/1775/1797 |
Mortar And Pestle |
0 |
A |
0 |
0 |
mortar-and-pestle |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1800 |
1775 |
1521/1775/1800 |
Scoops and Spatuals |
0 |
A |
0 |
0 |
scoops-and-spatuals |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1801 |
1775 |
1521/1775/1801 |
Sintered Ware |
0 |
A |
0 |
0 |
sintered-ware |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1802 |
1775 |
1521/1775/1802 |
Stoppers |
0 |
A |
0 |
0 |
stoppers |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1803 |
1775 |
1521/1775/1803 |
Test Tubes and Culture |
0 |
A |
0 |
0 |
test-tubes-and-culture |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1804 |
1775 |
1521/1775/1804 |
Tubes |
0 |
A |
0 |
0 |
tubes |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1805 |
1775 |
1521/1775/1805 |
Viscometer Tube |
0 |
A |
0 |
0 |
viscometer-tube |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1806 |
1775 |
1521/1775/1806 |
Volumetric Flasks |
0 |
A |
0 |
0 |
volumetric-flasks |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1807 |
1775 |
1521/1775/1807 |
Watch Glasses |
0 |
A |
0 |
0 |
watch-glasses |
1521/1775 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|