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