Query time 0.00064
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 1.927012219,
"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"],
"loops": 1,
"rows": 284,
"cost": 0.05733942,
"filtered": 99.64788818,
"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": ["cscart.pf.parent_id"],
"loops": 283,
"rows": 1,
"cost": 0.489519158,
"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": ["cscart.pf.parent_id", "const"],
"loops": 283,
"rows": 1,
"cost": 0.489928758,
"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": ["cscart.pf.feature_id", "const"],
"loops": 283,
"rows": 1,
"cost": 0.489928758,
"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": "fl",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["cscart.pf.feature_id", "const"],
"rowid_filter": {
"range": {
"key": "product_id",
"used_key_parts": ["product_id"]
},
"rows": 5,
"selectivity_pct": 0.335120643
},
"loops": 283,
"rows": 3,
"cost": 0.394914214,
"filtered": 0.335120648,
"attached_condition": "trigcond(cscart_product_features_values.product_id = 143 and cscart_product_features_values.lang_code = 'en')"
}
},
{
"table": {
"table_name": "abt_filters",
"access_type": "ref",
"possible_keys": ["feature_id", "company_id"],
"key": "feature_id",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["cscart.pf.feature_id"],
"loops": 2.845174263,
"rows": 1,
"cost": 0.00538191,
"filtered": 100,
"attached_condition": "trigcond(abt_filters.company_id = pf.company_id)"
}
}
]
}
}
}
}