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