SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6138b63aa381274bdd15422f24956d3e65a416fa1368abd4ab3ec3ae3e992ec' 
  AND token = 'TlGs2ZqoF+Ch9MS0a9Y0vCrzzzITQEA1JSNcLhf6Flc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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