SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd248f8fbf80028c8adaaef5796880baba5f789ca6333f4de382ded32e0fe56f8' 
  AND token = 'JC8Sk4nw6zkY1xi4qB24ChziGlZBofE1ANVblpY+iOM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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