SELECT * FROM `tb_product_photo` WHERE `field_1` = "31" ORDER BY `PK` ASC