SELECT * FROM product_category WHERE act = 1 AND product = 13 AND (height <= 3872 OR width <= 2592) ORDER BY id ASC