Query time 0.00047
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.00524233,
"nested_loop": [
{
"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": 1,
"cost": 0.00345856,
"filtered": 100,
"attached_condition": "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 <= 1789886561 and (cscart_pages.avail_till_timestamp >= 1789886561 or cscart_pages.avail_till_timestamp = 0))"
}
},
{
"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": 1,
"rows": 1,
"cost": 0.00178377,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'a' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
}
}
]
}
}
Result
| COUNT(DISTINCT(cscart_pages.page_id)) |
| 0 |