SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}Bahia{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}' OR prCity = 'Bahia' OR prZip = 'Bahia' OR prStreet LIKE '{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}Bahia{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}' OR prCountry = 'Bahia') AND (prLocation LIKE '{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}Grande{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}' OR prCity = 'Grande' OR prZip = 'Grande' OR prStreet LIKE '{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}Grande{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}' OR prCountry = 'Grande') AND (prLocation LIKE '{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}Spain{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}Spain{1762877649606e5afbeb1ecdb9a9667c6a433e7614844e205889c2047279df84}' OR prCountry = 'Spain')