Query time 0.00556
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "7.02"
},
"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": "PRIMARY",
"used_key_parts": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"key_length": "15",
"rows_examined_per_scan": 17,
"rows_produced_per_join": 17,
"filtered": "100.00",
"using_index_for_skip_scan": true,
"cost_info": {
"read_cost": "5.32",
"eval_cost": "1.70",
"prefix_cost": "7.02",
"data_read_per_join": "13K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`test2_gaseus`.`cscart_product_features_values`.`product_id` in (12617,12618,12619,12620,12621,12622,12623,12616,12615,12614,12613,12612,12611,12610,12609)) and (`test2_gaseus`.`cscart_product_features_values`.`feature_id` in (553,625,624,627,628)) and (`test2_gaseus`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
| product_id |
feature_id |
variant_id |
| 12609 |
553 |
1935 |
| 12610 |
553 |
1935 |
| 12611 |
553 |
1935 |
| 12612 |
553 |
1935 |
| 12613 |
553 |
1935 |
| 12614 |
553 |
1935 |
| 12615 |
553 |
1935 |
| 12616 |
553 |
1935 |
| 12617 |
553 |
1935 |
| 12618 |
553 |
1935 |
| 12619 |
553 |
1935 |
| 12620 |
553 |
1935 |
| 12621 |
553 |
1935 |
| 12622 |
553 |
1935 |
| 12623 |
553 |
1935 |
| 12609 |
624 |
2403 |
| 12610 |
624 |
2403 |
| 12611 |
624 |
2403 |
| 12612 |
624 |
2403 |
| 12613 |
624 |
2403 |
| 12614 |
624 |
2403 |
| 12615 |
624 |
2403 |
| 12616 |
624 |
2403 |
| 12617 |
624 |
2403 |
| 12618 |
624 |
2403 |
| 12619 |
624 |
2403 |
| 12620 |
624 |
2403 |
| 12621 |
624 |
2403 |
| 12622 |
624 |
2403 |
| 12623 |
624 |
2403 |
| 12609 |
625 |
2433 |
| 12610 |
625 |
2434 |
| 12611 |
625 |
2435 |
| 12612 |
625 |
2436 |
| 12613 |
625 |
2388 |
| 12614 |
625 |
2433 |
| 12615 |
625 |
2434 |
| 12616 |
625 |
2435 |
| 12617 |
625 |
2436 |
| 12618 |
625 |
2388 |
| 12619 |
625 |
2433 |
| 12620 |
625 |
2434 |
| 12621 |
625 |
2435 |
| 12622 |
625 |
2436 |
| 12623 |
625 |
2388 |
| 12609 |
627 |
1836 |
| 12610 |
627 |
1836 |
| 12611 |
627 |
1836 |
| 12612 |
627 |
1836 |
| 12613 |
627 |
1836 |
| 12614 |
627 |
2290 |
| 12615 |
627 |
2290 |
| 12616 |
627 |
2290 |
| 12617 |
627 |
2290 |
| 12618 |
627 |
2290 |
| 12619 |
627 |
1954 |
| 12620 |
627 |
1954 |
| 12621 |
627 |
1954 |
| 12622 |
627 |
1954 |
| 12623 |
627 |
1954 |
| 12609 |
628 |
1712 |
| 12610 |
628 |
1712 |
| 12611 |
628 |
1712 |
| 12612 |
628 |
1712 |
| 12613 |
628 |
1712 |
| 12614 |
628 |
1712 |
| 12615 |
628 |
1712 |
| 12616 |
628 |
1712 |
| 12617 |
628 |
1712 |
| 12618 |
628 |
1712 |
| 12619 |
628 |
1712 |
| 12620 |
628 |
1712 |
| 12621 |
628 |
1712 |
| 12622 |
628 |
1712 |
| 12623 |
628 |
1712 |