Jeg synes, det burde gøre det (har dog ikke testet det grundigt)
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));