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