SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    31954, 32138, 32139, 32140, 32141, 32142, 
    32143, 32144, 32145, 32146
  ) 
  AND feature_id IN (23279) 
  AND lang_code = 'vi'

Query time 0.00085

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 = 23279 and cscart_product_features_values.product_id in (31954,32138,32139,32140,32141,32142,32143,32144,32145,32146) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
31954 23279 80756
32138 23279 80765
32139 23279 80757
32140 23279 80758
32141 23279 80759
32142 23279 80760
32143 23279 80761
32144 23279 80762
32145 23279 80763
32146 23279 80764