Query time 0.00675
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "pf_groups.position, pf_groups_description.description, pf_groups.feature_id, pf.position, cscart_product_features_descriptions.description, pf.feature_id",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "pf",
"access_type": "ALL",
"possible_keys": ["status"],
"rows": 5322,
"filtered": 99.36114502,
"attached_condition": "pf.feature_type <> 'G' and pf.`status` = 'A' and pf.feature_code in ('Brand','ISBN','GTIN','MPN')"
}
},
{
"table": {
"table_name": "pf_groups",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["dev_db.pf.parent_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(pf_groups.`status` = 'A' or pf_groups.`status` is null)"
}
},
{
"table": {
"table_name": "pf_groups_description",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["dev_db.pf.parent_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(pf_groups_description.lang_code = 'en')"
}
},
{
"table": {
"table_name": "cscart_product_features_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["dev_db.pf.feature_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_features_descriptions.lang_code = 'en')"
}
},
{
"table": {
"table_name": "cscart_product_features_values",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "fpl",
"key_length": "12",
"used_key_parts": ["feature_id", "product_id", "lang_code"],
"ref": ["dev_db.pf.feature_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_features_values.lang_code = 'en')"
}
}
]
}
}
}
}