SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f377a99b493a3e69b7da8f30067edf6872b2b8c75c1fb9e12ae3be00b8b6cf7e' 
  AND token = 'q0P9xz0WyoSPED6ybHBo4oWZAGRDI5d5Txy31oaVuo4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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