SELECT * FROM product_category WHERE act = 1 AND product = 4 AND (height <= 2500 OR width <= 1667) ORDER BY id ASC