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 (
    31087, 31081, 31082, 31083, 31084, 31085, 
    26001, 32182, 32181, 12438, 34318, 
    34317, 34316, 10351, 62192, 62186, 
    62187, 62190, 62191, 62188, 62189
  )

Query time 0.00065

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.44"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "variant_feature_idx",
            "idx_var_feat_pos"
          ],
          "key": "idx_var_feat_pos",
          "used_key_parts": [
            "variant_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 21,
          "rows_produced_per_join": 21,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "2.65",
            "eval_cost": "2.10",
            "prefix_cost": "4.75",
            "data_read_per_join": "23K"
          },
          "used_columns": [
            "variant_id",
            "position"
          ],
          "attached_condition": "(`cscart_db`.`pfv`.`variant_id` in (31087,31081,31082,31083,31084,31085,26001,32182,32181,12438,34318,34317,34316,10351,62192,62186,62187,62190,62191,62188,62189))"
        }
      },
      {
        "table": {
          "table_name": "pfvd",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id",
            "lang_code"
          ],
          "key_length": "9",
          "ref": [
            "cscart_db.pfv.variant_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 21,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "10.59",
            "eval_cost": "2.10",
            "prefix_cost": "17.44",
            "data_read_per_join": "157K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
10351 0 South Korea
12438 0 20
26001 0 6.9
31081 0 Got Your Back
31082 0 Kiss and Tell
31083 0 Never Look Back
31084 0 Watch Me Slay
31085 0 You Go Girl
31087 0 Pink From Inside
32181 0 Weekdays to Weekend
32182 0 Day in Day Out
34316 0 Tunnel Of Love
34317 0 Crazy Coaster
34318 0 Columbus
62186 0 10.5
62187 0 PK002 Grapefruit Jelly
62188 0 PK004 Peach Chou Wafers
62189 0 BE101 Ginger Honey Cookie
62190 0 OR202 Sweet Coral Candy
62191 0 RD301 Red Grapefruit Pudding
62192 0 OR201 Apricot Peach Mousse