SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}La{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}' OR prCity = 'La' OR prZip = 'La' OR prStreet LIKE '{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}La{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}' OR prCountry = 'La') AND (prLocation LIKE '{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}Marina{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}' OR prCity = 'Marina' OR prZip = 'Marina' OR prStreet LIKE '{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}Marina{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}' OR prCountry = 'Marina') AND (prLocation LIKE '{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}Spain{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}Spain{bc26cab1cb3f15c4fd8a04303e4292c3a65244ee3ab38e3dbfcbf8e3ef7ae7d5}' OR prCountry = 'Spain')