SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf1a835ffc5e41c8d1fe1a547f1687765e2fe1328034a3ff016399f395411e16' 
  AND token = 'Bd5U/lmh902odsDPcvW563wbArr5DrZZAiyiiV0zYQ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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