SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}Lloret{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}' OR prCity = 'Lloret' OR prZip = 'Lloret' OR prStreet LIKE '{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}Lloret{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}' OR prCountry = 'Lloret') AND (prLocation LIKE '{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}de{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}' OR prCity = 'de' OR prZip = 'de' OR prStreet LIKE '{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}de{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}' OR prCountry = 'de') AND (prLocation LIKE '{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}Mar{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}' OR prCity = 'Mar' OR prZip = 'Mar' OR prStreet LIKE '{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}Mar{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}' OR prCountry = 'Mar') AND (prLocation LIKE '{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}Spain{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}Spain{685bc885f5217cbeab1aaa6c32484acf02432b849cbacfdaf852a267e072ce92}' OR prCountry = 'Spain')