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 (
    23759, 23760, 23761, 23762, 23763, 23764, 
    23765, 23766, 23767, 23768, 23769, 
    23770, 23771, 23772, 8323, 8325
  ) 
  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.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_product_prices",
      "access_type": "range",
      "possible_keys": ["usergroup", "product_id", "lower_limit", "usergroup_id"],
      "key": "product_id",
      "key_length": "3",
      "used_key_parts": ["product_id"],
      "rows": 16,
      "filtered": 99.99243927,
      "index_condition": "cscart_product_prices.product_id in (23759,23760,23761,23762,23763,23764,23765,23766,23767,23768,23769,23770,23771,23772,8323,8325)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
8323 290400.00000000
8325 510400.00000000
23759 62700.00000000
23760 29300.00000000
23761 29300.00000000
23762 50200.00000000
23763 50200.00000000
23764 15500.00000000
23765 0.00000000
23766 21300.00000000
23767 50200.00000000
23768 4600.00000000
23769 4600.00000000
23770 1930500.00000000
23771 1909100.00000000
23772 25900.00000000