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