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 (
    391037, 391032, 391031, 391030, 460955, 
    391029, 391035, 391033, 391036, 391034
  ) 
  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.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.041922586,
    "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": 20,
          "cost": 0.03556692,
          "filtered": 49.99988174,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (391037,391032,391031,391030,460955,391029,391035,391033,391036,391034) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
391029 1.00000000
391030 199999.00000000
391031 200000.00000000
391032 200001.00000000
391033 200002.00000000
391034 200003.00000000
391035 200004.00000000
391036 200005.00000000
391037 200006.00000000
460955 199999.00000000