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