SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{782d30b5418c91b7b84ece2fe3b58ecab46255f017d27378dbe9922abfe09148}Bassum{782d30b5418c91b7b84ece2fe3b58ecab46255f017d27378dbe9922abfe09148}' OR prCity = 'Bassum' OR prZip = 'Bassum' OR prStreet LIKE '{782d30b5418c91b7b84ece2fe3b58ecab46255f017d27378dbe9922abfe09148}Bassum{782d30b5418c91b7b84ece2fe3b58ecab46255f017d27378dbe9922abfe09148}' OR prCountry = 'Bassum') AND (prLocation LIKE '{782d30b5418c91b7b84ece2fe3b58ecab46255f017d27378dbe9922abfe09148}Germany{782d30b5418c91b7b84ece2fe3b58ecab46255f017d27378dbe9922abfe09148}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{782d30b5418c91b7b84ece2fe3b58ecab46255f017d27378dbe9922abfe09148}Germany{782d30b5418c91b7b84ece2fe3b58ecab46255f017d27378dbe9922abfe09148}' OR prCountry = 'Germany')