SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}San{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCity = 'San' OR prZip = 'San' OR prStreet LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}San{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCountry = 'San') AND (prLocation LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}Pedro{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCity = 'Pedro' OR prZip = 'Pedro' OR prStreet LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}Pedro{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCountry = 'Pedro') AND (prLocation LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}del{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCity = 'del' OR prZip = 'del' OR prStreet LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}del{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCountry = 'del') AND (prLocation LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}Pinatar{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCity = 'Pinatar' OR prZip = 'Pinatar' OR prStreet LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}Pinatar{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCountry = 'Pinatar') AND (prLocation LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}Spain{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}Spain{cfed992bc50c02c5964ea08055dc96adeff71b45f650fd681f1088d89ff7e8b2}' OR prCountry = 'Spain')