Query time 0.00105
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_pages.position, cscart_page_descriptions.`page`",
"temporary_table": {
"table": {
"table_name": "cscart_tag_links",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"tag_id",
"ids",
"idx_tag_id",
"idx_object_id"
],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["object_type"],
"ref": ["const"],
"rows": 1,
"filtered": 100,
"attached_condition": "(!<in_optimizer>(cscart_tag_links.object_id,<exists>(subquery#2)) or <in_optimizer>(cscart_tag_links.object_id,cscart_tag_links.object_id in (subquery#3))) and cscart_tag_links.object_type = 'A'",
"using_index": true
},
"table": {
"table_name": "cscart_tags",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "tag", "idx_tag_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["tag_id"],
"ref": ["devmotorsbay.cscart_tag_links.tag_id"],
"rowid_filter": {
"range": {
"key": "tag",
"used_key_parts": ["tag"]
},
"rows": 1,
"selectivity_pct": 0.002721311
},
"rows": 1,
"filtered": 0.002721311,
"attached_condition": "cscart_tags.tag = '55910T4300' and cscart_tags.`status` = 'A'"
},
"table": {
"table_name": "cscart_pages",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["page_id"],
"ref": ["devmotorsbay.cscart_tag_links.object_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_pages.`status` = 'A' and cscart_pages.company_id in (0,1,3,5,6,7,8,10,11,12,13,15) and cscart_pages.page_type in ('T','L','B','K','F') 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 <= 1788364661 and (cscart_pages.avail_till_timestamp >= 1788364661 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": ["devmotorsbay.cscart_tag_links.object_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_page_descriptions.lang_code = 'ko')"
},
"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": [
"devmotorsbay.cscart_tag_links.object_id",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'a' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'ko')"
},
"subqueries": [
{
"materialization": {
"query_block": {
"select_id": 3,
"table": {
"table_name": "mb_blog_sf_current",
"access_type": "ref",
"possible_keys": ["PRIMARY", "storefront_id"],
"key": "storefront_id",
"key_length": "4",
"used_key_parts": ["storefront_id"],
"ref": ["const"],
"rows": 3,
"filtered": 100,
"using_index": true
}
}
}
},
{
"query_block": {
"select_id": 2,
"table": {
"table_name": "mb_blog_sf_any",
"access_type": "index_subquery",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["page_id"],
"ref": ["func"],
"rows": 1,
"filtered": 100,
"using_index": true
}
}
}
]
}
}
}
}