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