SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    40571, 40533, 40566, 40567, 40568, 40569, 
    40570, 40573, 40572, 40574
  ) 
  AND feature_id IN (24095) 
  AND lang_code = 'vi'

Query time 0.00117

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": "idx_product_feature_variant_id",
          "key_length": "12",
          "used_key_parts": ["product_id", "feature_id", "lang_code"],
          "rows": 10,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.feature_id = 24095 and cscart_product_features_values.product_id in (40571,40533,40566,40567,40568,40569,40570,40573,40572,40574) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
40533 24095 83954
40566 24095 83963
40567 24095 83955
40568 24095 83956
40569 24095 83957
40570 24095 83958
40571 24095 83959
40572 24095 83960
40573 24095 83961
40574 24095 83962