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 (
    9506, 1596, 9503, 1560, 9505, 9510, 1600, 
    9508, 9533, 3037, 9532, 9516, 9531, 
    9534, 9517, 9520, 9530, 2077, 1914, 
    9573, 1674, 9572, 9522, 9588, 9402, 
    1558, 9754, 3442, 9967, 9523, 9895, 
    6360, 9870, 6869, 10066, 9422, 9486, 
    10058, 9627, 9970, 9426
  )

Query time 0.00127

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "43.06"
    },
    "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": 41,
          "rows_produced_per_join": 41,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (9506,1596,9503,1560,9505,9510,1600,9508,9533,3037,9532,9516,9531,9534,9517,9520,9530,2077,1914,9573,1674,9572,9522,9588,9402,1558,9754,3442,9967,9523,9895,6360,9870,6869,10066,9422,9486,10058,9627,9970,9426))",
          "cost_info": {
            "read_cost": "24.61",
            "eval_cost": "4.10",
            "prefix_cost": "28.71",
            "data_read_per_join": "46K"
          },
          "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": 41,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "10.25",
            "eval_cost": "4.10",
            "prefix_cost": "43.06",
            "data_read_per_join": "123K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
1558 80 Pink
1560 0 Black
1596 0 Green
1600 0 Blue
1674 0 Brown
1914 0 Gray
2077 0 Grey
3037 0 Dark Grey
3442 0 Violet
6360 0 Dark Green
6869 0 Dark Brown
9402 0 Clear Grey
9422 0 55-19mm
9426 0 53-20mm
9486 0 Grey Gradient
9503 0 Polished Black On Gold
9505 0 Black
9506 0 Polished Tortoise
9508 0 Polished Blue on Silver
9510 0 Polished Tortoise On Gold
9516 0 Clear/Blue
9517 0 Polished Black
9520 0 Polished Havana
9522 0 Polished Arista Gold
9523 0 Polished Silver
9530 0 Polished Grey on Havana
9531 0 Polished Grey on Transparent
9532 0 Polished Photo Striped Grey
9533 0 Polished Photo Striped Blue
9534 0 Polished Brown On Transparent Blue
9572 0 Polished Striped Brown & Red
9573 0 Polished Striped Grey & Blue
9588 0 Polished Gunmetal
9627 0 Polished Copper
9754 0 Polished Light Gold
9870 0 Polished Transparent Dark Grey
9895 0 Polished Pale Go;d
9967 0 Dark Grey Polar
9970 0 Polished Legend Gold
10058 0 Polished White
10066 0 Matte Opal Brown