You can use the Search Cursor in the python module named arcpy to query the feature layer. You can also use the result from the Search Cursor with Make Feature Layer tool to create a new Feature Layer. For zooming up to certain extent here is the StackOverflow Article where you can set the extent of the data frame.
... View more