SELECT * FROM wp_posts WHERE ping_status = 'open' AND post_content LIKE '%image-300x300.jpeg%'