SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{495893e2aedd366e75548a43454fd07d3b8b328b04f62be891ea400a9dba8a8b}Faro{495893e2aedd366e75548a43454fd07d3b8b328b04f62be891ea400a9dba8a8b}' OR prCity = 'Faro' OR prZip = 'Faro' OR prStreet LIKE '{495893e2aedd366e75548a43454fd07d3b8b328b04f62be891ea400a9dba8a8b}Faro{495893e2aedd366e75548a43454fd07d3b8b328b04f62be891ea400a9dba8a8b}' OR prCountry = 'Faro') AND (prLocation LIKE '{495893e2aedd366e75548a43454fd07d3b8b328b04f62be891ea400a9dba8a8b}Portogallo{495893e2aedd366e75548a43454fd07d3b8b328b04f62be891ea400a9dba8a8b}' OR prCity = 'Portogallo' OR prZip = 'Portogallo' OR prStreet LIKE '{495893e2aedd366e75548a43454fd07d3b8b328b04f62be891ea400a9dba8a8b}Portogallo{495893e2aedd366e75548a43454fd07d3b8b328b04f62be891ea400a9dba8a8b}' OR prCountry = 'Portogallo')