SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    50407, 50409, 50408, 50406, 50404, 50395, 
    50403, 50405, 50413, 50412, 50411, 
    50410
  ) 
  AND feature_id IN (24263) 
  AND lang_code = 'vi'

Query time 0.00678

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_features_values",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "PRIMARY",
          "key_length": "6",
          "used_key_parts": ["feature_id", "product_id"],
          "rows": 24,
          "filtered": 50,
          "attached_condition": "cscart_product_features_values.feature_id = 24263 and cscart_product_features_values.product_id in (50407,50409,50408,50406,50404,50395,50403,50405,50413,50412,50411,50410) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
50395 24263 84552
50403 24263 84561
50404 24263 84562
50405 24263 84563
50406 24263 84553
50407 24263 84554
50408 24263 84555
50409 24263 84556
50410 24263 84557
50411 24263 84558
50412 24263 84559
50413 24263 84560