SELECT
cscart_product_point_prices.product_id,
MIN(
cscart_product_point_prices.point_price
) AS point_price
FROM
cscart_product_point_prices
WHERE
cscart_product_point_prices.product_id IN (150, 148, 149, 5, 1, 23, 8, 172)
AND cscart_product_point_prices.lower_limit = 1
AND cscart_product_point_prices.usergroup_id IN (0, 0, 1)