SELECT 
  pfv.feature_id, 
  pfv.product_id, 
  pfv.variant_id, 
  fv.position, 
  fvd.variant 
FROM 
  cscart_product_features_values AS pfv 
  INNER JOIN cscart_product_feature_variants AS fv ON pfv.feature_id = fv.feature_id 
  AND pfv.variant_id = fv.variant_id 
  INNER JOIN cscart_product_feature_variant_descriptions AS fvd ON pfv.variant_id = fvd.variant_id 
  AND fvd.lang_code = 'en' 
WHERE 
  pfv.feature_id IN (
    24770, 22237, 24772, 24792, 24788, 24785, 
    22129, 24789, 24773, 24786, 24929, 
    24986, 24987, 24982
  ) 
  AND pfv.product_id IN (
    47257, 25162, 47258, 47393, 47389, 47353, 
    24788, 47390, 47259, 47355, 48624, 
    49004, 49003
  ) 
  AND pfv.lang_code = 'en'

Query time 0.04212

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "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": 189,
          "filtered": 0.382278293,
          "attached_condition": "pfv.feature_id in (24770,22237,24772,24792,24788,24785,22129,24789,24773,24786,24929,24986,24987,24982) and pfv.product_id in (47257,25162,47258,47393,47389,47353,24788,47390,47259,47355,48624,49004,49003) 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": ["dev_db.pfv.variant_id"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "fv.feature_id = pfv.feature_id"
        }
      },
      {
        "table": {
          "table_name": "fvd",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["variant_id", "lang_code"],
          "ref": ["dev_db.pfv.variant_id", "const"],
          "rows": 1,
          "filtered": 100,
          "index_condition": "fvd.lang_code = 'en'"
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id position variant
22129 24788 77472 0 Purple color
22237 25162 77917 0 Blue color
24770 47257 86391 1 Beige
24772 47258 86401 1 Brown
24773 47259 86406 1 Purple
24785 47353 86464 1 Brown - white
24786 47355 86467 1 Brown
24788 47389 86482 1 Ocean (Blue)
24789 47390 86484 1 Size M
24792 47393 86492 1 Summer by eM (Vibrant blue)
24929 48624 86922 0 Set of 10 tablets with mesh bag
24982 49003 87131 1 Beige
24986 49004 87144 1 Spring Field
24987 49004 87149 1 Không kèm tinh dầu