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 (
    10933, 12728, 10947, 10937, 10939, 10941, 
    12734, 12733, 10946, 10931, 12738, 
    12736, 10953, 10949, 3383, 10944, 13063, 
    10938, 10951, 11639, 13224, 10950, 
    10952, 12739
  ) 
  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.00085

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.81"
    },
    "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": 24,
        "rows_produced_per_join": 3,
        "filtered": "14.40",
        "index_condition": "(`dev_yourmart_co_bw`.`cscart_product_prices`.`product_id` in (10933,12728,10947,10937,10939,10941,12734,12733,10946,10931,12738,12736,10953,10949,3383,10944,13063,10938,10951,11639,13224,10950,10952,12739))",
        "cost_info": {
          "read_cost": "16.46",
          "eval_cost": "0.35",
          "prefix_cost": "16.81",
          "data_read_per_join": "82"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`dev_yourmart_co_bw`.`cscart_product_prices`.`lower_limit` = 1) and (`dev_yourmart_co_bw`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
3383 1875.25000000
10931 964.52000000
10933 895.42000000
10937 1439.63000000
10938 1286.40000000
10939 479.55000000
10941 986.40000000
10944 431.32000000
10946 504.86000000
10947 381.40000000
10949 842.17000000
10950 550.06000000
10951 550.06000000
10952 887.36000000
10953 350.53000000
11639 913.77000000
12728 1909.11000000
12733 1040.49000000
12734 1314.67000000
12736 1231.05000000
12738 1847.20000000
12739 2174.95000000
13063 1456.83000000
13224 477.22000000