SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '399b2e56ee095175e58bb9d0cb7fd23700d51fc4c61ee6b0f256fb152fbaafb3' 
  AND token = 'tmwynT7h3jgC5ojAR2Li/lloJFUDyjbW16d7yXjU8BI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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