SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed5e29ff522cccc6184fb74688de758f094938d007595fda147ae34ff5258a1e' 
  AND token = 'lgU/KGbC9AS/FNt5vIjcX7j9SB17cGvCaCuALZztPCU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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