Query time 0.00085
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "6.20"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_pages",
"access_type": "ref",
"possible_keys": [
"parent_id"
],
"key": "parent_id",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 35,
"rows_produced_per_join": 0,
"filtered": "0.55",
"cost_info": {
"read_cost": "2.57",
"eval_cost": "0.02",
"prefix_cost": "6.07",
"data_read_per_join": "487"
},
"used_columns": [
"page_id",
"company_id",
"parent_id",
"id_path",
"status",
"page_type",
"position",
"timestamp",
"usergroup_ids",
"localization",
"new_window",
"use_avail_period",
"avail_from_timestamp",
"avail_till_timestamp",
"facebook_obj_type"
],
"attached_condition": "((`cscart_db`.`cscart_pages`.`status` = 'A') and (`cscart_db`.`cscart_pages`.`company_id` in (0,13)) and (`cscart_db`.`cscart_pages`.`page_type` = 'B') and ((`cscart_db`.`cscart_pages`.`usergroup_ids` = '') or (0 <> find_in_set(0,`cscart_db`.`cscart_pages`.`usergroup_ids`)) or (0 <> find_in_set(1,`cscart_db`.`cscart_pages`.`usergroup_ids`))) and ((`cscart_db`.`cscart_pages`.`use_avail_period` = 'N') or ((`cscart_db`.`cscart_pages`.`use_avail_period` = 'Y') and (`cscart_db`.`cscart_pages`.`avail_from_timestamp` <= 1791841275) and ((`cscart_db`.`cscart_pages`.`avail_till_timestamp` >= 1791841275) or (`cscart_db`.`cscart_pages`.`avail_till_timestamp` = 0)))))"
}
},
{
"table": {
"table_name": "cscart_page_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"page_id",
"lang_code"
],
"key_length": "9",
"ref": [
"cscart_db.cscart_pages.page_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.05",
"eval_cost": "0.02",
"prefix_cost": "6.14",
"data_read_per_join": "743"
},
"used_columns": [
"page_id",
"lang_code",
"page"
]
}
},
{
"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": [
"cscart_db.cscart_pages.page_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.05",
"eval_cost": "0.02",
"prefix_cost": "6.20",
"data_read_per_join": "333"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
| page_id |
company_id |
parent_id |
id_path |
status |
page_type |
position |
timestamp |
usergroup_ids |
localization |
new_window |
use_avail_period |
avail_from_timestamp |
avail_till_timestamp |
facebook_obj_type |
page |
seo_name |
seo_path |
| 233 |
0 |
153 |
153/233 |
A |
B |
0 |
1771785000 |
0 |
|
0 |
N |
0 |
0 |
|
7 Signs Your Eyes Are Aging Faster Than You Think |
signs-of-premature-eye-aging |
153 |
| 234 |
0 |
153 |
153/234 |
A |
B |
0 |
1771785000 |
0 |
|
0 |
N |
0 |
0 |
|
Chemical vs Mineral Sunscreen: Which Suits Your Skin? |
chemical-vs-mineral-sunscreen-comparison |
153 |
| 232 |
0 |
153 |
153/232 |
A |
B |
0 |
1771266600 |
0 |
|
0 |
N |
0 |
0 |
|
How to Build a 5‑Step Routine Using Only Korean Beauty Products |
5-step-routine-with-korean-products |
153 |
| 230 |
0 |
153 |
153/230 |
A |
B |
0 |
1771266600 |
0 |
|
0 |
N |
0 |
0 |
|
5 Tips to Identify and Treat Dehydrated Skin |
identify-and-treat-dehydrated-skin |
153 |
| 225 |
0 |
153 |
153/225 |
A |
B |
0 |
1771266600 |
0 |
|
0 |
N |
0 |
0 |
|
5-Minute Skincare Routine That Heals Sensitive Dry Skin |
skincare-routine-for-sensitive-dry-skin |
153 |