A search warrant authorized by this article may be issued by a judge of a court having jurisdiction to try criminal cases in the county, or by a justice of the county, or by the mayor or judge of the police court of the municipality, wherein the property sought is located.