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