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