SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d7fd69b087d1056a1610b0b81e9fedc804f08d19b6d1ed6a77734371fa07416' 
  AND token = 'vT70jef1gRj7+6kJA743Lnfyqw0erganbJXjm6FZdUs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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