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