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 (
    207, 59, 58, 60, 172, 134, 135, 168, 167, 
    169, 42, 39, 40, 205, 37, 74, 73, 71, 75, 
    72, 70, 156, 175, 43
  ) 
  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.00066

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "55.80"
    },
    "grouping_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "ref",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "lower_limit",
        "used_key_parts": [
          "lower_limit"
        ],
        "key_length": "3",
        "ref": [
          "const"
        ],
        "rows_examined_per_scan": 234,
        "rows_produced_per_join": 4,
        "filtered": "1.90",
        "index_condition": "(`atulecarter_atul_demo5`.`cscart_product_prices`.`lower_limit` <=> 1)",
        "cost_info": {
          "read_cost": "9.00",
          "eval_cost": "0.89",
          "prefix_cost": "55.80",
          "data_read_per_join": "106"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`atulecarter_atul_demo5`.`cscart_product_prices`.`product_id` in (207,59,58,60,172,134,135,168,167,169,42,39,40,205,37,74,73,71,75,72,70,156,175,43)) and (`atulecarter_atul_demo5`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
37 159.95000000
39 419.00000000
40 229.00000000
42 79.00000000
43 369.00000000
58 779.00000000
59 599.00000000
60 1499.00000000
70 499.99000000
71 529.99000000
72 599.99000000
73 589.99000000
74 524.99000000
75 489.99000000
134 89.99000000
135 0.00000000
156 299.00000000
167 549.95000000
168 1.00000000
169 749.95000000
172 299.99000000
175 179.99000000
205 149.99000000
207 42.00000000