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 (
    1233012, 1067180, 696234, 591722, 589214, 
    1067678, 1033163, 992088, 1730410, 
    614833, 600286, 588439, 588446, 589740, 
    697903, 1067318, 1025367, 695078, 
    1233020, 599887, 1067521, 588910, 
    612038, 991897, 590755, 1025365, 622101, 
    1120163, 697332, 697155, 1073044, 
    591218, 1070391, 593887, 697609, 991976
  ) 
  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.00689

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "77.80"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "range",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "usergroup",
        "used_key_parts": [
          "product_id",
          "usergroup_id",
          "lower_limit"
        ],
        "key_length": "9",
        "rows_examined_per_scan": 72,
        "rows_produced_per_join": 72,
        "filtered": "100.00",
        "cost_info": {
          "read_cost": "70.60",
          "eval_cost": "7.20",
          "prefix_cost": "77.80",
          "data_read_per_join": "1K"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`maniamall_cscart`.`cscart_product_prices`.`lower_limit` = 1) and (`maniamall_cscart`.`cscart_product_prices`.`product_id` in (1233012,1067180,696234,591722,589214,1067678,1033163,992088,1730410,614833,600286,588439,588446,589740,697903,1067318,1025367,695078,1233020,599887,1067521,588910,612038,991897,590755,1025365,622101,1120163,697332,697155,1073044,591218,1070391,593887,697609,991976)) and (`maniamall_cscart`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
588439 11.250000
588446 18.750000
588910 92.810000
589214 84.380000
589740 52.500000
590755 70.880000
591218 105.630000
591722 75.000000
593887 31.250000
599887 51.240000
600286 56.240000
612038 42.490000
614833 143.740000
622101 19.990000
695078 19.990000
696234 28.740000
697155 298.740000
697332 37.490000
697609 74.990000
697903 24.990000
991897 42.490000
991976 94.990000
992088 50.000000
1025365 23.490000
1025367 22.650000
1033163 57.990000
1067180 84.380000
1067318 834.630000
1067521 97.490000
1067678 393.740000
1070391 3.750000
1073044 9.380000
1120163 71.240000
1233012 56.240000
1233020 66.240000
1730410 82.490000