SELECT 
  pfv.variant_id, 
  pfv.position, 
  pfvd.variant 
FROM 
  cscart_product_feature_variants AS pfv 
  INNER JOIN cscart_product_feature_variant_descriptions AS pfvd ON pfv.variant_id = pfvd.variant_id 
  AND pfvd.lang_code = 'en' 
WHERE 
  pfv.variant_id IN (
    6317, 6318, 6319, 6316, 6315, 6475, 6476, 
    6477, 6478, 6479, 6480, 6481, 7168, 
    6427, 6426, 6425, 6428, 6424, 7164, 
    6975, 6977, 6978, 6976, 7165
  )

Query time 0.00078

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "pfvd",
      "access_type": "range",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["variant_id", "lang_code"],
      "rows": 24,
      "filtered": 75,
      "index_condition": "pfvd.variant_id in (6317,6318,6319,6316,6315,6475,6476,6477,6478,6479,6480,6481,7168,6427,6426,6425,6428,6424,7164,6975,6977,6978,6976,7165) and pfvd.lang_code = 'en'"
    },
    "table": {
      "table_name": "pfv",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["variant_id"],
      "ref": ["herbaria_cscart_4_18.pfvd.variant_id"],
      "rows": 1,
      "filtered": 100
    }
  }
}

Result

variant_id position variant
6315 0 without oatmeal
6316 0 with oatmeal
6317 0 Regular—medium grind oats
6318 0 Extra Colloidal—fine grind oats
6319 0 Extra Exfoliating—whole rolled oats
6424 0 Biotherapy Skincare
6425 0 Citrus Oatmeal
6426 0 Eucalyptus Mint
6427 0 French Lavender
6428 0 Lavender Oatmeal
6475 0 Biotherapy Black Luffa
6476 0 Camper's Choice Luffa
6477 0 Chai Spice Luffa
6478 0 French Lavender Luffa
6479 0 Lemon May Chang Luffa
6480 0 Soapy's Choice Luffa
6481 0 Triple Mint Luffa
6975 0 Cedar Cypress
6976 0 Oakmoss
6977 0 Shiraz Soap
6978 0 Soapstone
7164 0 Please Select One
7165 0 Please Select One
7168 0 Please select one