Creo que esto debería funcionar (aunque no lo he probado a fondo)
create unique index idx_unique_mobile_number1
on person (least(mobile_number_1, mobile_number_2));
create unique index idx_unique_mobile_number2
on person (greatest(mobile_number_1, mobile_number_2));