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