UPDATE wp_posts SET post_content = REPLACE (post_content,"https://static.upload-cdn.com", "https://images.shopcode.org");

UPDATE wp_posts SET guid = REPLACE (guid, "https://static.upload-cdn.com", "https://images.shopcode.org") WHERE post_type = 'attachment';