SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0baa20eda5cc8089fcc73b87f9ed02cd07b199ad6784dc55dec5affcb2b34cfe' 
  AND token = 'qw0hCLz2cnxmTOs1WHdf0OeHGa/TVeGZz1CbOsH0oak=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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