SELECT 
  DISTINCT product_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    20877, 20878, 20879, 20880, 20881, 20882, 
    20883, 20884, 20885, 20886, 20887, 
    20888, 20889, 20890, 20891, 20892
  ) 
  AND feature_id IN (116) 
  AND (
    UPPER(value) IN ('Y', 'YES', 'TRUE', '1') 
    OR value IN (
      '해외구매대행', '수입품', 
      'Imported'
    ) 
    OR value_int > 0
  )

Query time 0.01060

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_product_features_values",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "fl",
        "product_id",
        "fpl",
        "idx_product_feature_variant_id"
      ],
      "key": "fpl",
      "key_length": "6",
      "used_key_parts": ["feature_id", "product_id"],
      "rows": 16,
      "filtered": 100,
      "index_condition": "cscart_product_features_values.feature_id = 116 and cscart_product_features_values.product_id in (20877,20878,20879,20880,20881,20882,20883,20884,20885,20886,20887,20888,20889,20890,20891,20892)",
      "attached_condition": "ucase(cscart_product_features_values.`value`) in ('Y','YES','TRUE','1') or cscart_product_features_values.`value` in ('해외구매대행','수입품','Imported') or cscart_product_features_values.value_int > 0"
    }
  }
}