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