Query time 0.00346
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.08"
},
"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": 30,
"rows_produced_per_join": 30,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "7.08",
"eval_cost": "6.00",
"prefix_cost": "13.08",
"data_read_per_join": "23K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`webmarco`.`cscart_product_features_values`.`product_id` in (82009,149101,149102,149103,149104,149105,149106,149107,149108,149109,149110,149111,149112,149113,149114)) and (`webmarco`.`cscart_product_features_values`.`feature_id` in (548,549)) and (`webmarco`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
product_id |
feature_id |
variant_id |
82009 |
548 |
1193 |
149101 |
548 |
1195 |
149102 |
548 |
1194 |
149103 |
548 |
1193 |
149104 |
548 |
1195 |
149105 |
548 |
1194 |
149106 |
548 |
1193 |
149107 |
548 |
1195 |
149108 |
548 |
1194 |
149109 |
548 |
1193 |
149110 |
548 |
1195 |
149111 |
548 |
1194 |
149112 |
548 |
1193 |
149113 |
548 |
1195 |
149114 |
548 |
1194 |
82009 |
549 |
1493 |
149101 |
549 |
1493 |
149102 |
549 |
1493 |
149103 |
549 |
1515 |
149104 |
549 |
1515 |
149105 |
549 |
1515 |
149106 |
549 |
1495 |
149107 |
549 |
1495 |
149108 |
549 |
1495 |
149109 |
549 |
38111 |
149110 |
549 |
38111 |
149111 |
549 |
38111 |
149112 |
549 |
1199 |
149113 |
549 |
1199 |
149114 |
549 |
1199 |