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 (
    147, 148, 149, 150, 151, 152, 153, 154, 
    155, 156, 157, 158, 159, 160, 161, 162, 
    163, 164, 165, 167, 168, 169, 170, 171, 
    172, 173, 174, 175, 176, 177, 178, 179
  ) 
  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.00082

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "117.98"
    },
    "grouping_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "64.00"
      },
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "ALL",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "rows_examined_per_scan": 254,
        "rows_produced_per_join": 63,
        "filtered": "25.20",
        "cost_info": {
          "read_cost": "41.18",
          "eval_cost": "12.80",
          "prefix_cost": "53.98",
          "data_read_per_join": "1K"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`satishecarter_march_003`.`cscart_product_prices`.`lower_limit` = 1) and (`satishecarter_march_003`.`cscart_product_prices`.`product_id` in (147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179)) and (`satishecarter_march_003`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
147 44.99000000
148 130.00000000
149 53.99000000
150 120.00000000
151 500.00000000
152 700.00000000
153 49.99000000
154 399.99000000
155 79.99000000
156 299.00000000
157 499.00000000
158 4750.00000000
159 11375.00000000
160 200.00000000
161 279.99000000
162 32750.00000000
163 899.99000000
164 249.99000000
165 599.95000000
167 549.95000000
168 1.00000000
169 749.95000000
170 145.99000000
171 499.00000000
172 299.99000000
173 349.99000000
174 100.75000000
175 179.99000000
176 648.95000000
177 400.00000000
178 6.83000000
179 299.97000000