UPDATE `wp_posts` SET
`guid` = replace(`guid`, "doména1.cz", "doména2.cz")
WHERE 1