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 (
    130, 128, 126, 131, 177, 186, 185, 179, 
    11, 172, 134, 135, 195, 233, 168, 167, 
    169, 42, 39, 40, 205, 37, 152, 160
  ) 
  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.00059

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "63.21"
    },
    "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": 28,
        "rows_produced_per_join": 5,
        "filtered": "19.67",
        "index_condition": "(`danishecarter_latest`.`cscart_product_prices`.`product_id` in (130,128,126,131,177,186,185,179,11,172,134,135,195,233,168,167,169,42,39,40,205,37,152,160))",
        "cost_info": {
          "read_cost": "62.11",
          "eval_cost": "1.10",
          "prefix_cost": "63.21",
          "data_read_per_join": "132"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`danishecarter_latest`.`cscart_product_prices`.`lower_limit` = 1) and (`danishecarter_latest`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
11 30.00000000
37 159.95000000
39 419.00000000
40 229.00000000
42 79.00000000
126 129.99000000
128 17.99000000
130 49.95000000
131 1249.00000000
134 89.99000000
135 0.00000000
152 700.00000000
160 200.00000000
167 549.95000000
168 1.00000000
169 749.95000000
172 299.99000000
177 400.00000000
179 299.97000000
185 139.99000000
186 299.99000000
195 29.99000000
205 149.99000000
233 47.99000000