Query time 0.00150
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "7.85"
},
"table": {
"table_name": "cscart_product_features_values",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "lang_code",
"used_key_parts": [
"lang_code",
"feature_id",
"product_id"
],
"key_length": "12",
"rows_examined_per_scan": 17,
"rows_produced_per_join": 17,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "4.45",
"eval_cost": "3.40",
"prefix_cost": "7.85",
"data_read_per_join": "13K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`webmarco`.`cscart_product_features_values`.`feature_id` = 1004) and (`webmarco`.`cscart_product_features_values`.`product_id` in (277822,277823,277824,277825,277826,277827,277828,277829,277830,277831,286601,286602,286603,286604,286605,286606,286607)) and (`webmarco`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
product_id |
feature_id |
variant_id |
277822 |
1004 |
64498 |
277823 |
1004 |
64501 |
277824 |
1004 |
64502 |
277825 |
1004 |
64503 |
277826 |
1004 |
64504 |
277827 |
1004 |
64505 |
277828 |
1004 |
64506 |
277829 |
1004 |
64507 |
277830 |
1004 |
64499 |
277831 |
1004 |
64500 |
286601 |
1004 |
64827 |
286602 |
1004 |
64828 |
286603 |
1004 |
64829 |
286604 |
1004 |
64830 |
286605 |
1004 |
64831 |
286606 |
1004 |
64833 |
286607 |
1004 |
64834 |