SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{044878da0b402b0003368f536e1016bd20fce30b5bbae688aaca36efc6f236c6}Borgsum{044878da0b402b0003368f536e1016bd20fce30b5bbae688aaca36efc6f236c6}' OR prCity = 'Borgsum' OR prZip = 'Borgsum' OR prStreet LIKE '{044878da0b402b0003368f536e1016bd20fce30b5bbae688aaca36efc6f236c6}Borgsum{044878da0b402b0003368f536e1016bd20fce30b5bbae688aaca36efc6f236c6}' OR prCountry = 'Borgsum') AND (prLocation LIKE '{044878da0b402b0003368f536e1016bd20fce30b5bbae688aaca36efc6f236c6}Germany{044878da0b402b0003368f536e1016bd20fce30b5bbae688aaca36efc6f236c6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{044878da0b402b0003368f536e1016bd20fce30b5bbae688aaca36efc6f236c6}Germany{044878da0b402b0003368f536e1016bd20fce30b5bbae688aaca36efc6f236c6}' OR prCountry = 'Germany')