SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a21af0f983f6f13dbe732a6dce4d8af81253a67e2359b179826ca36d2d63edd5' 
  AND token = '2Rpn9XDxtqGOh2lx50Lnc9VyL/nxSHqCnipIs5g9OCY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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