SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}Venda{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}' OR prCity = 'Venda' OR prZip = 'Venda' OR prStreet LIKE '{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}Venda{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}' OR prCountry = 'Venda') AND (prLocation LIKE '{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}do{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}' OR prCity = 'do' OR prZip = 'do' OR prStreet LIKE '{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}do{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}' OR prCountry = 'do') AND (prLocation LIKE '{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}Pinheiro{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}' OR prCity = 'Pinheiro' OR prZip = 'Pinheiro' OR prStreet LIKE '{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}Pinheiro{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}' OR prCountry = 'Pinheiro') AND (prLocation LIKE '{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}Portugal{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}' OR prCity = 'Portugal' OR prZip = 'Portugal' OR prStreet LIKE '{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}Portugal{921ba58819a249ce0bddf634e99308e37de50118d5da4f29c878f9cac56cbb6f}' OR prCountry = 'Portugal')