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 (
    1882, 1815, 1853, 1759, 2001, 1843, 1859, 
    1794, 1793, 1817, 1795, 1818, 1784, 
    1789, 1811, 1791, 1889, 1836, 1799, 
    1845, 1792, 1905, 1806, 1837
  ) 
  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.00039

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.16"
    },
    "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": 27,
        "rows_produced_per_join": 5,
        "filtered": "19.97",
        "index_condition": "(`cscartdevel`.`cscart_product_prices`.`product_id` in (1882,1815,1853,1759,2001,1843,1859,1794,1793,1817,1795,1818,1784,1789,1811,1791,1889,1836,1799,1845,1792,1905,1806,1837))",
        "cost_info": {
          "read_cost": "17.62",
          "eval_cost": "0.54",
          "prefix_cost": "18.16",
          "data_read_per_join": "129"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`cscartdevel`.`cscart_product_prices`.`lower_limit` = 1) and (`cscartdevel`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
1759 9.96000000
1784 11.29000000
1789 9.96000000
1791 16.71000000
1792 15.49000000
1793 27.83000000
1794 11.35000000
1795 13.94000000
1799 7.98000000
1806 13.84000000
1811 34.86000000
1815 8.85000000
1817 12.28000000
1818 9.96000000
1836 7.98000000
1837 6.87000000
1843 10.30000000
1845 12.89000000
1853 70.41000000
1859 11.40000000
1882 17.93000000
1889 15.72000000
1905 13.17000000
2001 10.03000000