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