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 (
    3037, 9517, 1596, 1674, 9590, 1600, 9523, 
    9524, 9751, 9522, 9753, 9588, 9045, 
    9866, 9796, 9503, 9408, 6360, 9870, 
    9692, 9516, 1914, 1783, 9321, 1682, 
    9426, 9556, 6869, 9398, 8285, 9349, 
    9637, 9557, 1558
  )

Query time 0.00108

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "35.71"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 34,
          "rows_produced_per_join": 34,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (3037,9517,1596,1674,9590,1600,9523,9524,9751,9522,9753,9588,9045,9866,9796,9503,9408,6360,9870,9692,9516,1914,1783,9321,1682,9426,9556,6869,9398,8285,9349,9637,9557,1558))",
          "cost_info": {
            "read_cost": "20.41",
            "eval_cost": "3.40",
            "prefix_cost": "23.81",
            "data_read_per_join": "38K"
          },
          "used_columns": [
            "variant_id",
            "position"
          ]
        }
      },
      {
        "table": {
          "table_name": "pfvd",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id",
            "lang_code"
          ],
          "key_length": "9",
          "ref": [
            "softwarepirmam_hewadelivard_cscart_4.pfv.variant_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 34,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "8.50",
            "eval_cost": "3.40",
            "prefix_cost": "35.71",
            "data_read_per_join": "102K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
1558 80 Pink
1596 0 Green
1600 0 Blue
1674 0 Brown
1682 33 Light Blue
1783 0 Dark blue
1914 0 Gray
3037 0 Dark Grey
6360 0 Dark Green
6869 0 Dark Brown
8285 0 Gradient Brown
9045 0 Light Brown
9321 0 55-20mm
9349 0 54-19mm
9398 0 54-18mm
9408 0 56-15mm
9426 0 53-20mm
9503 0 Polished Black On Gold
9516 0 Clear/Blue
9517 0 Polished Black
9522 0 Polished Arista Gold
9523 0 Polished Silver
9524 0 Polished Gold
9556 0 Polished Light Havana
9557 0 Polished Turtledove
9588 0 Polished Gunmetal
9590 0 Polished Transparent Fantasy Brown
9637 0 Blue Gradient Grey
9692 0 Polished Rose Gold
9751 0 Brown Chromance
9753 0 Grey/Blue Chromance
9796 0 Polished Grey On Black
9866 0 55-21mm
9870 0 Polished Transparent Dark Grey