SELECT 
  cscart_product_prices.product_id, 
  MIN(
    IF(
      cscart_product_prices.percentage_discount = 0, 
      cscart_product_prices.price, 
      cscart_product_prices.price - (
        cscart_product_prices.price * cscart_product_prices.percentage_discount
      )/ 100
    )
  ) AS price 
FROM 
  cscart_product_prices 
WHERE 
  cscart_product_prices.product_id IN (
    1142, 2380, 1941, 2052, 1139, 2055, 1960, 
    1926, 1990, 2341, 2053, 1937, 1148, 
    1149, 1147, 1150, 1145, 1146, 2382, 
    1152, 1151, 1156, 1143, 1157, 1144
  ) 
  AND cscart_product_prices.lower_limit = 1 
  AND cscart_product_prices.usergroup_id IN (0, 1) 
GROUP BY 
  cscart_product_prices.product_id

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.41"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "range",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "product_id",
        "used_key_parts": [
          "product_id"
        ],
        "key_length": "3",
        "rows_examined_per_scan": 27,
        "rows_produced_per_join": 5,
        "filtered": "19.97",
        "index_condition": "(`cscartdevel`.`cscart_product_prices`.`product_id` in (1142,2380,1941,2052,1139,2055,1960,1926,1990,2341,2053,1937,1148,1149,1147,1150,1145,1146,2382,1152,1151,1156,1143,1157,1144))",
        "cost_info": {
          "read_cost": "17.87",
          "eval_cost": "0.54",
          "prefix_cost": "18.41",
          "data_read_per_join": "129"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`cscartdevel`.`cscart_product_prices`.`lower_limit` = 1) and (`cscartdevel`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
1139 37.00000000
1142 35.00000000
1143 65.00000000
1144 65.00000000
1145 59.00000000
1146 22.00000000
1147 22.00000000
1148 22.00000000
1149 22.00000000
1150 22.00000000
1151 37.00000000
1152 37.00000000
1156 65.00000000
1157 65.00000000
1926 17.72000000
1937 17.07000000
1941 35.15000000
1960 27.11000000
1990 25.58000000
2052 28.75000000
2053 14.78000000
2055 24.05000000
2341 29.63000000
2380 38.72000000
2382 10.50000000