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 (
    13860, 13876, 13879, 13896, 13895, 13899, 
    13861, 13857, 13859, 13858, 13897, 
    13866, 13894, 13873, 13889, 13885, 
    13884, 13892, 13891, 13890, 13893
  ) 
  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.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.054455256,
    "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": 42,
          "cost": 0.0410523,
          "filtered": 49.95539856,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (13860,13876,13879,13896,13895,13899,13861,13857,13859,13858,13897,13866,13894,13873,13889,13885,13884,13892,13891,13890,13893) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
13857 14.50000000
13858 14.50000000
13859 14.50000000
13860 14.50000000
13861 14.80000000
13866 18.99000000
13873 10.30000000
13876 12.99000000
13879 9.80000000
13884 11.99000000
13885 12.89000000
13889 12.70000000
13890 14.30000000
13891 14.30000000
13892 14.30000000
13893 14.30000000
13894 17.89000000
13895 17.89000000
13896 17.89000000
13897 19.90000000
13899 8.99000000