Query time 0.00154
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "8.25"
},
"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": 18,
"rows_produced_per_join": 18,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "4.65",
"eval_cost": "3.60",
"prefix_cost": "8.25",
"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 (277975,277976,277977,277978,277979,277980,277981,277982,277983,277984,286609,286610,286611,286612,286613,286614,286615,286616)) and (`webmarco`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
product_id |
feature_id |
variant_id |
277975 |
1004 |
64498 |
277976 |
1004 |
64501 |
277977 |
1004 |
64502 |
277978 |
1004 |
64503 |
277979 |
1004 |
64504 |
277980 |
1004 |
64505 |
277981 |
1004 |
64506 |
277982 |
1004 |
64507 |
277983 |
1004 |
64499 |
277984 |
1004 |
64500 |
286609 |
1004 |
64825 |
286610 |
1004 |
64827 |
286611 |
1004 |
64828 |
286612 |
1004 |
64829 |
286613 |
1004 |
64830 |
286614 |
1004 |
64831 |
286615 |
1004 |
64833 |
286616 |
1004 |
64834 |