Query time 0.00131
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "7.45"
},
"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": 16,
"rows_produced_per_join": 16,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "4.25",
"eval_cost": "3.20",
"prefix_cost": "7.45",
"data_read_per_join": "12K"
},
"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 (284462,284463,284464,284465,284466,284467,284468,284469,284470,284471,284472,284473,284474,284475,284476,284477)) and (`webmarco`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
product_id |
feature_id |
variant_id |
284462 |
1004 |
64480 |
284463 |
1004 |
64484 |
284464 |
1004 |
64485 |
284465 |
1004 |
64486 |
284466 |
1004 |
64487 |
284467 |
1004 |
64488 |
284468 |
1004 |
64489 |
284469 |
1004 |
64490 |
284470 |
1004 |
64491 |
284471 |
1004 |
64492 |
284472 |
1004 |
64493 |
284473 |
1004 |
64494 |
284474 |
1004 |
64495 |
284475 |
1004 |
64496 |
284476 |
1004 |
64483 |
284477 |
1004 |
64497 |