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 (277101, 243684, 277987)
AND cscart_product_point_prices.lower_limit = 1
AND cscart_product_point_prices.usergroup_id IN (0, 0, 1)