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