Query time 0.00116
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.06592029,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_pages.`timestamp` desc",
"table": {
"table_name": "cscart_pages",
"access_type": "ref",
"possible_keys": ["parent_id"],
"key": "parent_id",
"key_length": "3",
"used_key_parts": ["parent_id"],
"ref": ["const"],
"loops": 1,
"rows": 13,
"cost": 0.01537984,
"filtered": 100,
"attached_condition": "cscart_pages.parent_id <=> 25 and cscart_pages.`status` = 'A' and cscart_pages.company_id in (0,2,3,4,7,14,15,21,23,25,26,27,28,30,33,34,36,37,38,72,73,74,78) and cscart_pages.page_type = 'B' and (cscart_pages.usergroup_ids = '' or find_in_set(0,cscart_pages.usergroup_ids) or find_in_set(1,cscart_pages.usergroup_ids)) and (cscart_pages.use_avail_period = 'N' or cscart_pages.use_avail_period = 'Y' and cscart_pages.avail_from_timestamp <= 1790312121 and (cscart_pages.avail_till_timestamp >= 1790312121 or cscart_pages.avail_till_timestamp = 0))"
}
}
}
},
{
"table": {
"table_name": "cscart_page_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["page_id", "lang_code"],
"ref": ["u428615623_ecartifygonje.cscart_pages.page_id", "const"],
"loops": 13,
"rows": 1,
"cost": 0.02227732,
"filtered": 100,
"attached_condition": "trigcond(cscart_page_descriptions.lang_code = 'de')"
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": [
"u428615623_ecartifygonje.cscart_pages.page_id",
"const",
"const",
"const"
],
"loops": 13,
"rows": 1,
"cost": 0.01581621,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'a' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
}
},
{
"table": {
"table_name": "cscart_tilda_pages",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["inner_page_id"],
"ref": ["u428615623_ecartifygonje.cscart_pages.page_id"],
"loops": 13,
"rows": 1,
"cost": 0.01244692,
"filtered": 100
}
}
]
}
}
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 |
tilda_status |
tilda_page_id |
| 69 |
0 |
25 |
25/69 |
A |
B |
0 |
1771160400 |
0 |
|
0 |
N |
0 |
0 |
activity |
The Science of Comfort Food: How What You Eat Affects Your Mood | Gonje |
the-science-of-comfort-food-how-what-you-eat-affects-your-mood-gonje |
25 |
|
|
| 73 |
0 |
25 |
25/73 |
A |
B |
0 |
1771160400 |
0 |
|
0 |
N |
0 |
0 |
activity |
Why Supporting Local Food Vendors Matters More Than Ever | Gonje |
why-supporting-local-food-vendors-matters-more-than-ever-gonje |
25 |
|
|
| 76 |
0 |
25 |
25/76 |
A |
B |
0 |
1771160400 |
0 |
|
0 |
N |
0 |
0 |
activity |
5 Time-Saving Food Hacks for People Who Don't Have Time to Cook | Gonje |
5-time-saving-food-hacks-for-people-who-dont-have-time-to-cook-gonje |
25 |
|
|