SELECT * FROM `ps_cart` 
WHERE `id_address_invoice` > 0 AND `id_address_invoice` 
NOT IN (SELECT `id_address` FROM `ps_address`);