SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}Porto{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}' OR prCity = 'Porto' OR prZip = 'Porto' OR prStreet LIKE '{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}Porto{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}' OR prCountry = 'Porto') AND (prLocation LIKE '{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}Pedro{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}' OR prCity = 'Pedro' OR prZip = 'Pedro' OR prStreet LIKE '{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}Pedro{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}' OR prCountry = 'Pedro') AND (prLocation LIKE '{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}Spain{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}Spain{f64e1b6f149defc5a87a2215a671e4d10fd46f44f6a356d5f7e688ae5d814911}' OR prCountry = 'Spain')