SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0254ebf8c3d4fd6dc2dcf2b9a4b6b1c7e833466de82c483f170b57cacdbbd08b}Quakenbrück{0254ebf8c3d4fd6dc2dcf2b9a4b6b1c7e833466de82c483f170b57cacdbbd08b}' OR prCity = 'Quakenbrück' OR prZip = 'Quakenbrück' OR prStreet LIKE '{0254ebf8c3d4fd6dc2dcf2b9a4b6b1c7e833466de82c483f170b57cacdbbd08b}Quakenbrück{0254ebf8c3d4fd6dc2dcf2b9a4b6b1c7e833466de82c483f170b57cacdbbd08b}' OR prCountry = 'Quakenbrück') AND (prLocation LIKE '{0254ebf8c3d4fd6dc2dcf2b9a4b6b1c7e833466de82c483f170b57cacdbbd08b}Germany{0254ebf8c3d4fd6dc2dcf2b9a4b6b1c7e833466de82c483f170b57cacdbbd08b}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0254ebf8c3d4fd6dc2dcf2b9a4b6b1c7e833466de82c483f170b57cacdbbd08b}Germany{0254ebf8c3d4fd6dc2dcf2b9a4b6b1c7e833466de82c483f170b57cacdbbd08b}' OR prCountry = 'Germany')