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 (
    108, 237, 191, 235, 70, 122, 115, 156, 
    90, 175, 196, 43, 104, 76, 129, 127, 121, 
    103, 95, 182, 41, 56, 57, 30, 112, 246, 
    89, 197, 208, 173, 97, 229
  ) 
  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.00070

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "79.61"
    },
    "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": 34,
        "rows_produced_per_join": 6,
        "filtered": "19.63",
        "index_condition": "(`pankajecarter_systemfour`.`cscart_product_prices`.`product_id` in (108,237,191,235,70,122,115,156,90,175,196,43,104,76,129,127,121,103,95,182,41,56,57,30,112,246,89,197,208,173,97,229))",
        "cost_info": {
          "read_cost": "78.27",
          "eval_cost": "1.34",
          "prefix_cost": "79.61",
          "data_read_per_join": "160"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`pankajecarter_systemfour`.`cscart_product_prices`.`lower_limit` = 1) and (`pankajecarter_systemfour`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
30 349.95000000
41 35.00000000
43 369.00000000
56 220.00000000
57 309.00000000
70 499.99000000
76 439.99000000
89 19.99000000
90 19.99000000
95 19.99000000
97 14.99000000
103 23.99000000
104 29.95000000
108 12.99000000
112 8.99000000
115 4595.00000000
121 17.99000000
122 5695.00000000
127 4779.00000000
129 1799.00000000
156 299.00000000
173 349.99000000
175 179.99000000
182 6.80000000
191 11.98000000
196 17.00000000
197 14.98000000
208 82.94000000
229 299.99000000
235 79.99000000
237 299.99000000
246 399.99000000