Is there any specific guideline in creating a custom table? i mean to make the table to be able to queried quick
What exactly do you mean by "custom table"?
Guess, you need to post this in borads of discussion concerned with sql.
Anyway, the querying time Depends on the cardinality of data in the table. Proper identification of unique/PK is necessary. Create indexes if needed.