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 (
    2152, 2121, 2122, 2123, 2124, 2125, 2120, 
    2119, 2118, 2115, 2116, 2117, 2114, 
    2113, 2110, 2111, 2112, 2109, 2106, 
    2107, 2108, 2105, 2091, 2068
  ) 
  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.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.71"
    },
    "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": 26,
        "rows_produced_per_join": 5,
        "filtered": "19.95",
        "index_condition": "(`wearethehelpful_scalesta_net`.`cscart_product_prices`.`product_id` in (2152,2121,2122,2123,2124,2125,2120,2119,2118,2115,2116,2117,2114,2113,2110,2111,2112,2109,2106,2107,2108,2105,2091,2068))",
        "cost_info": {
          "read_cost": "17.19",
          "eval_cost": "0.52",
          "prefix_cost": "17.71",
          "data_read_per_join": "124"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`wearethehelpful_scalesta_net`.`cscart_product_prices`.`lower_limit` = 1) and (`wearethehelpful_scalesta_net`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
2068 123.00000000
2091 34.00000000
2105 512.00000000
2106 384.00000000
2107 384.00000000
2108 384.00000000
2109 153.60000000
2110 153.60000000
2111 153.60000000
2112 153.60000000
2113 128.00000000
2114 128.00000000
2115 128.00000000
2116 128.00000000
2117 128.00000000
2118 12.80000000
2119 256.00000000
2120 43.52000000
2121 43.52000000
2122 43.52000000
2123 43.52000000
2124 43.52000000
2125 43.52000000
2152 15.36000000