DELETE FROM product_pictures
WHERE picture = (SELECT picture FROM (SELECT picture FROM product_pictures WHERE id = ?) x)
Este cheat vai enganar o analisador mysql
DELETE FROM product_pictures
WHERE picture = (SELECT picture FROM (SELECT picture FROM product_pictures WHERE id = ?) x)