INSERT INTO `oc_mounts` (`storage_id`,`root_id`,`user_id`,`mount_point`) SELECT '48','103332','Maria Vinas','/Maria Vinas/uploads/' FROM `oc_mounts` WHERE `root_id` = '103332' AND `user_id` = 'Maria Vinas' HAVING COUNT(*) = 0