Query time 0.00369
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "9.54"
},
"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": "idx_product_feature_variant_id",
"used_key_parts": [
"product_id",
"feature_id",
"lang_code"
],
"key_length": "12",
"rows_examined_per_scan": 40,
"rows_produced_per_join": 40,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "5.54",
"eval_cost": "4.00",
"prefix_cost": "9.54",
"data_read_per_join": "30K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`gaseus`.`cscart_product_features_values`.`product_id` in (12118,12119,12120,12121,12122,12123,12124,12125,12126,12127,12128,12129,12130,12131)) and (`gaseus`.`cscart_product_features_values`.`feature_id` in (553,622)) and (`gaseus`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
| product_id |
feature_id |
variant_id |
| 12118 |
553 |
1324 |
| 12118 |
622 |
2170 |
| 12119 |
553 |
1324 |
| 12119 |
622 |
2158 |
| 12120 |
553 |
1324 |
| 12120 |
622 |
2159 |
| 12121 |
553 |
1324 |
| 12121 |
622 |
2160 |
| 12122 |
553 |
1324 |
| 12122 |
622 |
2155 |
| 12123 |
553 |
1324 |
| 12123 |
622 |
2156 |
| 12124 |
553 |
1324 |
| 12124 |
622 |
2157 |
| 12125 |
553 |
2197 |
| 12125 |
622 |
2170 |
| 12126 |
553 |
2197 |
| 12126 |
622 |
2158 |
| 12127 |
553 |
2197 |
| 12127 |
622 |
2159 |
| 12128 |
553 |
2197 |
| 12128 |
622 |
2160 |
| 12129 |
553 |
2197 |
| 12129 |
622 |
2155 |
| 12130 |
553 |
2197 |
| 12130 |
622 |
2156 |
| 12131 |
553 |
2197 |
| 12131 |
622 |
2157 |