SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}San{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCity = 'San' OR prZip = 'San' OR prStreet LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}San{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCountry = 'San') AND (prLocation LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}Pedro{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCity = 'Pedro' OR prZip = 'Pedro' OR prStreet LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}Pedro{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCountry = 'Pedro') AND (prLocation LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}del{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCity = 'del' OR prZip = 'del' OR prStreet LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}del{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCountry = 'del') AND (prLocation LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}Pinatar{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCity = 'Pinatar' OR prZip = 'Pinatar' OR prStreet LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}Pinatar{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCountry = 'Pinatar') AND (prLocation LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}Spain{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}Spain{055b4bd495a126d5b36ff9116c2b09234febe98fa03338d0c8322052b2402f4e}' OR prCountry = 'Spain')