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