Query time 0.00359
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 (278087,278088,278089,278090,278091,278092,278093,278094,278095,278096,286570,286571,286572,286573,286574,286575,286576,286577)) and (`webmarco`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
product_id |
feature_id |
variant_id |
278087 |
1004 |
64498 |
278088 |
1004 |
64501 |
278089 |
1004 |
64502 |
278090 |
1004 |
64503 |
278091 |
1004 |
64504 |
278092 |
1004 |
64505 |
278093 |
1004 |
64506 |
278094 |
1004 |
64507 |
278095 |
1004 |
64499 |
278096 |
1004 |
64500 |
286570 |
1004 |
64825 |
286571 |
1004 |
64827 |
286572 |
1004 |
64828 |
286573 |
1004 |
64829 |
286574 |
1004 |
64830 |
286575 |
1004 |
64831 |
286576 |
1004 |
64833 |
286577 |
1004 |
64834 |