SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45e158d5748df03ad34648deddc30399a03ff4b070d200e126628eea3ef37c15' 
  AND token = 's6AsJNrtXyBu6KVryik0IP9res5mUg4UeNrpyejtRe0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}