SELECT * FROM image WHERE image_status<>2 AND image_id=587479 LIMIT 1