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