Query time 0.00085
JSON explain
{
"query_block": {
"select_id": 1,
"table": {
"table_name": "pfv",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["feature_id", "product_id"],
"rows": 14,
"filtered": 78.571,
"attached_condition": "pfv.feature_id = 89 and pfv.product_id in (426,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802) and pfv.lang_code = 'en'",
"using_index": true
},
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "feature_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["herbaria_cscart_4_18.pfv.variant_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "fv.feature_id = 89"
},
"table": {
"table_name": "fvd",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["herbaria_cscart_4_18.pfv.variant_id", "const"],
"rows": 1,
"filtered": 100,
"index_condition": "fvd.lang_code = 'en'"
}
}
}
Result
feature_id |
product_id |
variant_id |
position |
variant |
89 |
426 |
7048 |
0 |
9 oz. Stripes Sun Gold $17.95 |
89 |
1791 |
7055 |
0 |
15 oz. Topkapi Fuscia $20.95 |
89 |
1792 |
7056 |
0 |
15 oz. Topkapi Plum $20.95 |
89 |
1793 |
7057 |
0 |
15 oz. Topkapi Teal $20.95 |
89 |
1794 |
7045 |
0 |
9 oz. Stripes Dove Grey $17.95 |
89 |
1795 |
7046 |
0 |
9 oz. Stripes Moss Green $17.95 |
89 |
1796 |
7047 |
0 |
9 oz. Stripes Royal Blue $17.95 |
89 |
1797 |
7049 |
0 |
9 oz. Stripes Wheat Tan $17.95 |
89 |
1798 |
7050 |
0 |
15 oz. Diamonds Café au Lait $20.95 |
89 |
1799 |
7053 |
0 |
15 oz. Diamonds Navy Blue $20.95 |
89 |
1800 |
7051 |
0 |
15 oz. Diamonds Dove Grey $20.95 |
89 |
1801 |
7052 |
0 |
15 oz. Diamonds Forest Green $20.95 |
89 |
1802 |
7054 |
0 |
15 oz. Topkapi Cocoa $20.95 |