SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9c50d13882289681cade293a0f1d3d6c05b5755139b49be2703d39e571a2b4d1}Aigües{9c50d13882289681cade293a0f1d3d6c05b5755139b49be2703d39e571a2b4d1}' OR prCity = 'Aigües' OR prZip = 'Aigües' OR prStreet LIKE '{9c50d13882289681cade293a0f1d3d6c05b5755139b49be2703d39e571a2b4d1}Aigües{9c50d13882289681cade293a0f1d3d6c05b5755139b49be2703d39e571a2b4d1}' OR prCountry = 'Aigües') AND (prLocation LIKE '{9c50d13882289681cade293a0f1d3d6c05b5755139b49be2703d39e571a2b4d1}Spain{9c50d13882289681cade293a0f1d3d6c05b5755139b49be2703d39e571a2b4d1}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{9c50d13882289681cade293a0f1d3d6c05b5755139b49be2703d39e571a2b4d1}Spain{9c50d13882289681cade293a0f1d3d6c05b5755139b49be2703d39e571a2b4d1}' OR prCountry = 'Spain')