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 (
    1341, 1342, 1856, 2913, 1815, 1819, 2914, 
    1859, 1858, 1850, 1294, 1298, 1297, 
    1293, 1295, 1814, 1816, 1817, 1818, 
    1820, 1821, 1822, 1823, 1824
  ) 
  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.00060

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.052674528,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_prices",
          "access_type": "range",
          "possible_keys": [
            "usergroup",
            "product_id",
            "lower_limit",
            "usergroup_id"
          ],
          "key": "usergroup",
          "key_length": "9",
          "used_key_parts": ["product_id", "usergroup_id", "lower_limit"],
          "loops": 1,
          "rows": 48,
          "cost": 0.04656984,
          "filtered": 20,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (1341,1342,1856,2913,1815,1819,2914,1859,1858,1850,1294,1298,1297,1293,1295,1814,1816,1817,1818,1820,1821,1822,1823,1824) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
1293 676.80000000
1294 327.12000000
1295 479.40000000
1297 161.68000000
1298 242.52000000
1341 498.20000000
1342 340.28000000
1814 137.24000000
1815 30.08000000
1816 152.28000000
1817 161.68000000
1818 176.72000000
1819 33.84000000
1820 203.04000000
1821 203.04000000
1822 189.88000000
1823 203.04000000
1824 214.32000000
1850 92.12000000
1856 488.80000000
1858 214.32000000
1859 479.40000000
2913 919.32000000
2914 938.12000000