SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1fbf764ff8d3319fe4d4ce23c1f5a62b79a256a843c499661ac99bf26937780' 
  AND token = '1y4+pvYzxNpXD6ujxzSyss615oJy66b3KyOXW4liyGU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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