SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}Bad{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}Bad{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}' OR prCountry = 'Bad') AND (prLocation LIKE '{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}Münstereifel{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}' OR prCity = 'Münstereifel' OR prZip = 'Münstereifel' OR prStreet LIKE '{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}Münstereifel{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}' OR prCountry = 'Münstereifel') AND (prLocation LIKE '{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}Germany{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}Germany{b8ce4f7a6ccd063a677e1772221f04be7b92e8d5a7a0e74470dd5618a72a47d0}' OR prCountry = 'Germany')